Traceback (most recent call last):


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

result = coro.throw(exc)


 "/usr/src/app/homeassistant/core.py", line 1025, in _event_to_service_call

yield from service_handler.func(service_call)


 "/usr/src/app/homeassistant/components/fan/__init__.py", line 219, in async_handle_fan_service

yield from getattr(fan, method['method'])(**params)


 "/usr/local/lib/python3.6/asyncio/futures.py", line 332, in __iter__

yield self
# This tells Task to wait for completion.


 "/usr/local/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup

future.result()


 "/usr/local/lib/python3.6/asyncio/futures.py", line 245, in result

raise self._exception


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

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


 "/usr/src/app/homeassistant/components/fan/isy994.py", line 92, in turn_on

self.set_speed(speed)


 "/usr/src/app/homeassistant/components/fan/isy994.py", line 88, in set_speed

self.speed = self.state
AttributeError: can't set attribute

Traceback (most recent call last):


 "main.py", line 289, in <module>

main()


 "main.py", line 131, in main

train(train_loader, model, criterion, optimizer, epoch)


 "main.py", line 159, in train

for i, (input, target) in enumerate(train_loader):


 "/usr/local/lib/python2.7/dist-packages/torch/utils/data/dataloader.py", line 201, in __next__

return self._process_next_batch(batch)


 "/usr/local/lib/python2.7/dist-packages/torch/utils/data/dataloader.py", line 221, in _process_next_batch

raise batch.exc_type(batch.exc_msg)
AttributeError: Traceback (most recent call last):
