Traceback (most recent call last):


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

for i, data in enumerate(dataset):


 "/home/luvis/chenxu/data/__init__.py", line 84, in __iter__

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


 "/home/luvis/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 615, in __next__

batch = self.collate_fn([self.dataset[i] for i in indices])


 "/home/luvis/anaconda3/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 615, in <listcomp>

batch = self.collate_fn([self.dataset[i] for i in indices])


 "/home/luvis/chenxu/data/my_dataset.py", line 35, in __getitem__

A = AB.crop((0, 0, w2, h))


 "/home/luvis/anaconda3/lib/python3.6/site-packages/PIL/Image.py", line 1136, in crop

self.load()


 "/home/luvis/anaconda3/lib/python3.6/site-packages/PIL/TiffImagePlugin.py", line 1077, in load

return self._load_libtiff()


 "/home/luvis/anaconda3/lib/python3.6/site-packages/PIL/TiffImagePlugin.py", line 1168, in _load_libtiff

raise IOError(err)
OSError: -2

Traceback (most recent call last):

 "C:\ProgramData\Anaconda3\lib\site-packages\spyder\plugins\layout\container.py", line 131, in <lambda>
triggered=lambda: self.show_save_layout(),

 "C:\ProgramData\Anaconda3\lib\site-packages\spyder\plugins\layout\container.py", line 307, in show_save_layout
self.save_current_window_settings('layout_{}/'.format(index),AttributeError: 'LayoutContainer' object has no attribute 'save_current_window_settings'