-
Notifications
You must be signed in to change notification settings - Fork 121
Description
(ggPy3.8) G:\Project\Main\CV\CG4\gangealing>python applications/vis_correspondence.py --ckpt cat --real_data_path data/lsun_cats --vis_in_stages --real_size 512 --output_resolution 512 --resolution 256 --label_path assets/masks/cat_mask.png --dset_indices 2363 9750 7432 1946
Traceback (most recent call last):
File "applications/vis_correspondence.py", line 499, in
smoothly_congeal_and_propagate(args, t_ema, classifier)
File "D:\InstallPath\Develop\Anaconda3\2020.07\envs\ggPy3.8\lib\site-packages\torch\autograd\grad_mode.py", line 28, in decorate_context
return func(*args, **kwargs)
File "applications/vis_correspondence.py", line 223, in smoothly_congeal_and_propagate
sample_images_and_points(args, t, classifier, device)
File "D:\InstallPath\Develop\Anaconda3\2020.07\envs\ggPy3.8\lib\site-packages\torch\autograd\grad_mode.py", line 28, in decorate_context
return func(*args, **kwargs)
File "applications/vis_correspondence.py", line 54, in sample_images_and_points
data = torch.stack([dset[i] for i in args.dset_indices], 0).to(device)
File "applications/vis_correspondence.py", line 54, in
data = torch.stack([dset[i] for i in args.dset_indices], 0).to(device)
File "G:\Project\Main\CV\CG4\gangealing.\datasets\dataset.py", line 45, in getitem
img = Image.open(buffer)
File "D:\InstallPath\Develop\Anaconda3\2020.07\envs\ggPy3.8\lib\site-packages\PIL\Image.py", line 3339, in open
raise UnidentifiedImageError(msg)
PIL.UnidentifiedImageError: cannot identify image file <_io.BytesIO object at 0x00000169BDDD2E00>