Traceback (most recent call last):


 "uvloop/future.pyx", line 374, in uvloop.loop.BaseTask._fast_step (uvloop/loop.c:105596)


 "/usr/src/app/homeassistant/core.py", line 299, in async_stop

yield from self.async_block_till_done()


 "/usr/src/app/homeassistant/core.py", line 281, in async_block_till_done

ret = yield from self.loop.run_in_executor(None, self._loop_empty)


 "uvloop/future.pyx", line 230, in __iter__ (uvloop/loop.c:103621)


 "uvloop/future.pyx", line 432, in uvloop.loop.BaseTask._fast_wakeup (uvloop/loop.c:106780)


 "uvloop/future.pyx", line 101, in uvloop.loop.BaseFuture._result_impl (uvloop/loop.c:102039)


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

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


 "/usr/src/app/homeassistant/core.py", line 261, in _loop_empty

return self.loop._current_handle is None and \
AttributeError: 'Loop' object has no attribute '_current_handle'

Original Traceback (most recent call last):


 "/home/vova/anaconda3/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 178, in _worker_loop

data = fetcher.fetch(index)


 "/home/vova/anaconda3/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch

data = [self.dataset[idx] for idx in possibly_batched_index]


 "/home/vova/anaconda3/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>

data = [self.dataset[idx] for idx in possibly_batched_index]


 "/tmp/BasicSR/basicsr/data/paired_image_dataset.py", line 81, in __getitem__

img_gt = mmcv.imfrombytes(img_bytes).astype(np.float32) / 255.
AttributeError: 'NoneType' object has no attribute 'astype'
