RaphaelMeudec / deblur-gan

Keras implementation of "DeblurGAN: Blind Motion Deblurring Using Conditional Adversarial Networks"
587 stars 245 forks source link

[Errno 20] Not a directory: 'GOPRO_Large/test/._GOPR0384_11_00/blur' #68

Closed danialaqil closed 4 years ago

danialaqil commented 4 years ago

When I run the python scripts/organize_gopro_dataset.py --dir_in=GOPRO_Large --dir_out=images step, I get an error: File "scripts/organize_gopro_dataset.py", line 31, in reorganize_gopro_files for image_blurred in os.listdir(os.path.join(current_sub_folder_path, 'blur')): NotADirectoryError: [Errno 20] Not a directory: 'GOPRO_Large/test/._GOPR0384_11_00/blur'

I am guessing that the problem is that the directory in the code contains the '._' while the actual folders do not contain them?