Traceback (most recent call last):


 "D:/WORKSPACE/py_temp/pytorch-CycleGAN-and-pix2pix-master/train.py", line 47, in <module>

for i, data in enumerate(dataset):
# inner loop within one epoch


 "D:\WORKSPACE\py_temp\pytorch-CycleGAN-and-pix2pix-master\data\__init__.py", line 90, in __iter__

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


 "D:\ProgramData\Anaconda3\envs\py36_7\lib\site-packages\torch\utils\data\dataloader.py", line 279, in __iter__

return _MultiProcessingDataLoaderIter(self)


 "D:\ProgramData\Anaconda3\envs\py36_7\lib\site-packages\torch\utils\data\dataloader.py", line 719, in __init__

w.start()


 "D:\ProgramData\Anaconda3\envs\py36_7\lib\multiprocessing\process.py", line 105, in start

self._popen = self._Popen(self)


 "D:\ProgramData\Anaconda3\envs\py36_7\lib\multiprocessing\context.py", line 223, in _Popen

return _default_context.get_context().Process._Popen(process_obj)


 "D:\ProgramData\Anaconda3\envs\py36_7\lib\multiprocessing\context.py", line 322, in _Popen

return Popen(process_obj)


 "D:\ProgramData\Anaconda3\envs\py36_7\lib\multiprocessing\popen_spawn_win32.py", line 65, in __init__

reduction.dump(process_obj, to_child)


 "D:\ProgramData\Anaconda3\envs\py36_7\lib\multiprocessing\reduction.py", line 60, in dump

ForkingPickler(file, protocol).dump(obj)
AttributeError: Can't pickle local object 'get_transform.<locals>.<lambda>'

`Traceback (most recent call last):


 "train.py", line 43, in prefetch_data

data, ind = sample_data(db, ind, data_aug=data_aug)


 "/media/disk/wudi/CenterNet/sample/coco.py", line 200, in sample_data

return globals()[system_configs.sampling_function](db, k_ind, data_aug, debug)


 "/media/disk/wudi/CenterNet/sample/coco.py", line 100, in kp_detection

image, detections = random_crop(image, detections, rand_scales, input_size, border=border)


 "/media/disk/wudi/CenterNet/sample/utils.py", line 57, in random_crop

image_height, image_width = image.shape[0:2]
AttributeError: 'NoneType' object has no attribute 'shape'`
