Traceback (most recent call last):


 "keras_to_tensorflow.py", line 182, in <module>

app.run(main)


 "/usr/local/lib/python3.5/dist-packages/absl/app.py", line 300, in run

_run_main(main, args)


 "/usr/local/lib/python3.5/dist-packages/absl/app.py", line 251, in _run_main

sys.exit(main(argv))


 "keras_to_tensorflow.py", line 128, in main

model = load_model(FLAGS.input_model, FLAGS.input_model_json, FLAGS.input_model_yaml)


 "keras_to_tensorflow.py", line 63, in load_model

model = keras.models.load_model(input_model_path)


 "/usr/local/lib/python3.5/dist-packages/keras/engine/saving.py", line 260, in load_model

model = model_from_config(model_config, custom_objects=custom_objects)


 "/usr/local/lib/python3.5/dist-packages/keras/engine/saving.py", line 334, in model_from_config

return deserialize(config, custom_objects=custom_objects)


 "/usr/local/lib/python3.5/dist-packages/keras/layers/__init__.py", line 55, in deserialize

printable_module_name='layer')


 "/usr/local/lib/python3.5/dist-packages/keras/utils/generic_utils.py", line 145, in deserialize_keras_object

list(custom_objects.items())))


 "/usr/local/lib/python3.5/dist-packages/keras/engine/network.py", line 1017, in from_config

process_layer(layer_data)


 "/usr/local/lib/python3.5/dist-packages/keras/engine/network.py", line 1003, in process_layer

custom_objects=custom_objects)


 "/usr/local/lib/python3.5/dist-packages/keras/layers/__init__.py", line 55, in deserialize

printable_module_name='layer')


 "/usr/local/lib/python3.5/dist-packages/keras/utils/generic_utils.py", line 147, in deserialize_keras_object

return cls.from_config(config['config'])


 "/usr/local/lib/python3.5/dist-packages/keras/engine/base_layer.py", line 1109, in from_config

return cls(**config)


 "/usr/local/lib/python3.5/dist-packages/keras/legacy/interfaces.py", line 91, in wrapper

return func(*args, **kwargs)


 "/usr/local/lib/python3.5/dist-packages/keras/layers/convolutional.py", line 1936, in __init__

super(UpSampling2D, self).__init__(**kwargs)


 "/usr/local/lib/python3.5/dist-packages/keras/engine/base_layer.py", line 128, in __init__

raise TypeError('Keyword argument not understood:', kwarg)
TypeError: ('Keyword argument not understood:', 'interpolation')

Traceback (most recent call last):


 "/usr/lib/python3.6/asyncio/tasks.py", line 179, in _step

result = coro.send(None)


 "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 381, in async_process_entity

new_entity, self, update_before_add=update_before_add


 "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity_component.py", line 238, in async_add_entity

yield from entity.async_update_ha_state()


 "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 256, in async_update_ha_state

self._attr_setter('entity_picture', str, ATTR_ENTITY_PICTURE, attr)


 "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 323, in _attr_setter

value = getattr(self, name)


 "/usr/lib/python3.6/site-packages/homeassistant/components/sensor/wunderground.py", line 712, in entity_picture

return re.sub(r'^http://', 'https://', url, flags=re.IGNORECASE)


 "/usr/lib/python3.6/re.py", line 191, in sub

return _compile(pattern, flags).sub(repl, string, count)
TypeError: expected string or bytes-like object
