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

AttributeError: 'JpegImageFile' object has no attribute 'getexif' #60

Closed
sinchubhat opened this issue Apr 9, 2020 · 9 comments
Closed

Comments

@sinchubhat
Copy link

image
image

@abhi-kumar
Copy link
Contributor

This has been resolved. The error happened as there are corrupt files in your dataset. Use EDA to get the list of corrupt files and remove them from your training csv file

@sinchubhat
Copy link
Author

Okay sure I will check

@sinchubhat
Copy link
Author

There are no corrupt images ,i checked using EDA

@abhi-kumar
Copy link
Contributor

Ok... So the error is because of Pillow then?

@sinchubhat
Copy link
Author

sinchubhat commented Apr 11, 2020 via email

@abhi-kumar
Copy link
Contributor

Pillow 6+ has issues in reading certain jpeg format images as per the discussions here python-pillow/Pillow#3769.

Temporary solution: Downgrade to pillow==5.4.1

@abhi-kumar
Copy link
Contributor

Closing due to inactivity

@sinchubhat
Copy link
Author

This error still exist

@jerald-jacob
Copy link

I have the same issue

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

3 participants