Traceback (most recent call last):


 "/userhome/user/autokeras/test.py", line 66, in <module>

model = multi_gpu_model(model, gpus=2)


 "/userhome/user/anaconda3/envs/autokeras/lib/python3.7/site-packages/tensorflow/python/util/deprecation.py", line 324, in new_func

return func(*args, **kwargs)


 "/userhome/user/anaconda3/envs/autokeras/lib/python3.7/site-packages/tensorflow/python/keras/utils/multi_gpu_utils.py", line 225, in multi_gpu_model

input_shape = tuple(x.shape.as_list())[1:]
AttributeError: 'NoneType' object has no attribute 'as_list'

Traceback (most recent call last):


 "uvloop/cbhandles.pyx", line 64, in uvloop.loop.Handle._run


 "/usr/src/app/homeassistant/helpers/event.py", line 82, in state_change_listener

event.data.get('new_state'))


 "/usr/src/app/homeassistant/core.py", line 333, in async_run_job

target(*args)


 "/usr/src/app/homeassistant/components/utility_meter/sensor.py", line 94, in async_reading

old_state.state in [STATE_UNKNOWN, STATE_UNAVAILABLE],
AttributeError: 'NoneType' object has no attribute 'state'
