Traceback (most recent call last):


 "/usr/local/lib/python3.7/site-packages/pychromecast/controllers/media.py", line 477, in _fire_status_changed

listener.new_media_status(self.status)


 "/usr/src/app/homeassistant/components/cast/media_player.py", line 394, in new_media_status

self._cast_device.new_media_status(media_status)


 "/usr/src/app/homeassistant/components/cast/media_player.py", line 761, in new_media_status

self.schedule_update_ha_state()


 "/usr/src/app/homeassistant/helpers/entity.py", line 339, in schedule_update_ha_state

self.hass.add_job(self.async_update_ha_state(force_refresh))


 "/usr/src/app/homeassistant/core.py", line 255, in add_job

self.loop.call_soon_threadsafe(self.async_add_job, target, *args)


 "uvloop/loop.pyx", line 1261, in uvloop.loop.Loop.call_soon_threadsafe


 "uvloop/loop.pyx", line 604, in uvloop.loop.Loop._call_soon


 "uvloop/loop.pyx", line 608, in uvloop.loop.Loop._call_soon_handle


 "uvloop/loop.pyx", line 637, in uvloop.loop.Loop._check_closed
RuntimeError: Event loop is closed

Traceback (most recent call last):


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

for i, data in enumerate(dataset):


 "/Users/lucadelaat/Stack/Master/deep_learning/SuperResolution/pytorch-CycleGAN-and-pix2pix/data/__init__.py", line 51, in __iter__

for i, data in enumerate(self.dataloader):


 "/usr/local/lib/python3.6/site-packages/torch-0.4.0-py3.6-macosx-10.13-x86_64.egg/torch/utils/data/dataloader.py", line 286, in __next__

return self._process_next_batch(batch)


 "/usr/local/lib/python3.6/site-packages/torch-0.4.0-py3.6-macosx-10.13-x86_64.egg/torch/utils/data/dataloader.py", line 307, in _process_next_batch

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