VITA-Group / DeblurGANv2

[ICCV 2019] "DeblurGAN-v2: Deblurring (Orders-of-Magnitude) Faster and Better" by Orest Kupyn, Tetiana Martyniuk, Junru Wu, Zhangyang Wang
Other
1.01k stars 265 forks source link

Behavior for get_dataloader =(....) in train.py #80

Closed ramnoob closed 4 years ago

ramnoob commented 4 years ago

Hellow : ) When I run train.py , I met error "Can't pickle local object 'get_corrupt_function..process" (solved #44)

I dealt with this ploblem in according with #44 , I rewrite get_dataloader = partial(DataLoader, batch_size=batch_size, num_workers=cpu_count(), shuffle=True, drop_last=True). But same error continued .

After that , I undo get_dataloader = partial(DataLoader, batch_size=batch_size, shuffle=True, drop_last=True) . ...Oh! lerning start ! ... Why ?

I'm sorry not to write ENGLISH fluently.

ramnoob commented 4 years ago

I misunderstanding , sry.