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/ '
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/ '