Traceback (most recent call last):


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state

await self.async_device_update()


 "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 474, in async_device_update

await self.async_update()


 "/usr/src/homeassistant/homeassistant/components/upnp/sensor.py", line 217, in async_update

if self._is_overflowed(new_value):


 "/usr/src/homeassistant/homeassistant/components/upnp/sensor.py", line 205, in _is_overflowed

return new_value < self._last_value
TypeError: '<' not supported between instances of 'NoneType' and 'int'

Traceback (most recent call last):


 "/Users/shinonomenano/opt/anaconda3/bin/nlp-train", line 5, in <module>

nlp_train_cli()


 "/Users/shinonomenano/opt/anaconda3/lib/python3.7/site-packages/nlp_architect/cli/__init__.py", line 45, in nlp_train_cli

args.func(args)


 "/Users/shinonomenano/opt/anaconda3/lib/python3.7/site-packages/nlp_architect/procedures/transformers/glue.py", line 46, in run_procedure

do_training(args)


 "/Users/shinonomenano/opt/anaconda3/lib/python3.7/site-packages/nlp_architect/procedures/transformers/glue.py", line 142, in do_training

save_steps=args.save_steps,


 "/Users/shinonomenano/opt/anaconda3/lib/python3.7/site-packages/nlp_architect/models/transformers/sequence_classification.py", line 135, in train

save_steps=save_steps,


 "/Users/shinonomenano/opt/anaconda3/lib/python3.7/site-packages/nlp_architect/models/transformers/base_model.py", line 356, in _train

save_path=best_model_path,


 "/Users/shinonomenano/opt/anaconda3/lib/python3.7/site-packages/nlp_architect/models/transformers/base_model.py", line 410, in update_best_model

if i == 0 and f1 > best_dev:
# dev set
TypeError: '>' not supported between instances of 'NoneType' and 'int'
