yanx27 / EverybodyDanceNow_reproduce_pytorch

Everybody dance now reproduced in pytorch
MIT License
607 stars 173 forks source link

main.py ==> IsADirectoryError: [Errno 21] Is a directory: './data/face/test_real/ ' #43

Open benoitoutlook opened 5 years ago

benoitoutlook commented 5 years ago

main.py

Traceback (most recent call last): File "./face_enhancer/main.py", line 69, in main(is_debug) File "./face_enhancer/main.py", line 52, in main image_folder = dataset.ImageFolderDataset(dataset_dir, cache=os.path.join(dataset_dir, 'local.db')) File "/XXX/EverybodyDanceNow_reproduce_pytorch/face_enhancer/dataset.py", line 18, in init tmp = imread(os.path.join(self.root, 'test_real', self.images[0])) File "/XXX/skimage/io/_io.py", line 62, in imread img = call_plugin('imread', fname, plugin=plugin, *plugin_args) File "/XXX/skimage/io/manage_plugins.py", line 214, in call_plugin return func(args, **kwargs) File "/XXX/skimage/io/_plugins/pil_plugin.py", line 35, in imread with open(fname, 'rb') as f: IsADirectoryError: [Errno 21] Is a directory: './data/face/test_real/ '