Traceback (most recent call last):


 "/opt/venv/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 99, in _worker_loop

samples = collate_fn([dataset[i] for i in batch_indices])


 "/opt/venv/lib/python3.6/site-packages/torch/utils/data/_utils/worker.py", line 99, in <listcomp>

samples = collate_fn([dataset[i] for i in batch_indices])


 "/usr/src/app/robosat/datasets.py", line 76, in __getitem__

images, mask = self.joint_transform(images, mask)


 "/usr/src/app/robosat/transforms.py", line 82, in __call__

images, mask = transform(images, mask)


 "/usr/src/app/robosat/transforms.py", line 119, in __call__

images = [self.image_transform(v) for v in images]


 "/usr/src/app/robosat/transforms.py", line 119, in <listcomp>

images = [self.image_transform(v) for v in images]


 "/usr/src/app/robosat/transforms.py", line 54, in __call__

return image.convert(self.mode)


 "/opt/venv/lib/python3.6/site-packages/PIL/Image.py", line 912, in convert

self.load()


 "/opt/venv/lib/python3.6/site-packages/PIL/Image
.py", line 230, in load

raise IOError("image file is truncated")
OSError: image file is truncated

Traceback (most recent call last):


 "/home/yoh/proj/misc/argcomplete/argcomplete/__init__.py", line 189, in __call__

output_stream = os.fdopen(8, "wb")


 "/usr/lib/python3.8/os.py", line 1023, in fdopen

return io.open(fd, *args, **kwargs)
OSError: [Errno 9] Bad file descriptor
