Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IsADirectoryError: [Errno 21] Is a directory: 'input_images/.ipynb_checkpoints' #5

Open
basemdabbour opened this issue Apr 6, 2022 · 1 comment

Comments

@basemdabbour
Copy link

IsADirectoryError Traceback (most recent call last)
in ()
58 pbar = tqdm(total=len(images_list))
59 for image_name in images_list:
---> 60 img = Image.open(os.path.join(image_dir, image_name)).convert('RGB')
61 img_size = img.size
62 img = img.resize((768, 768), Image.BICUBIC)

/usr/local/lib/python3.7/dist-packages/PIL/Image.py in open(fp, mode)
2841
2842 if filename:
-> 2843 fp = builtins.open(filename, "rb")
2844 exclusive_fp = True
2845

IsADirectoryError: [Errno 21] Is a directory: 'input_images/.ipynb_checkpoints'

@levindabhi
Copy link
Owner

Updated colab notebook for same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants