Traceback (most recent call last):


 "/usr/local/lib/python3.5/dist-packages/homeassistant/bootstrap.py", line 151, in _async_setup_component

None, component.setup, hass, config)


 "/usr/lib/python3.5/asyncio/futures.py", line 361, in __iter__

yield self
# This tells Task to wait for completion.


 "/usr/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup

future.result()


 "/usr/lib/python3.5/asyncio/futures.py", line 274, in result

raise self._exception


 "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run

result = self.fn(*self.args, **self.kwargs)


 "/usr/local/lib/python3.5/dist-packages/homeassistant/components/notify/__init__.py", line 143, in setup

if not setup_notify_platform(platform, p_config):


 "/usr/local/lib/python3.5/dist-packages/homeassistant/components/notify/__init__.py", line 89, in setup_notify_platform

hass, p_config, discovery_info)
TypeError: get_service() takes 2 positional arguments but 3 were given

Traceback (most recent call last):


 "train.py", line 132, in <module>

data_dir, label_dir, target_size=target_size, resume_training=True)


 "train.py", line 102, in train

batch_size=batch_size, shuffle=True


 "/data/kuixu/exper/fcn/Keras-FCN/utils/SegDataGenerator.py", line 186, in flow_from_directory

save_to_dir=save_to_dir, save_prefix=save_prefix, save_format=save_format)


 "/data/kuixu/exper/fcn/Keras-FCN/utils/SegDataGenerator.py", line 26, in __init__

self.target_size = tuple(target_size)
TypeError: 'NoneType' object is not iterable
