johko / computer-vision-course

This repo is the homebase of a community driven course on Computer Vision with Neural Networks. Feel free to join us on the Hugging Face discord: hf.co/join/discord
MIT License
365 stars 121 forks source link

transfer-learning-image-classification.ipynb error #312

Open maaxlong opened 3 weeks ago

maaxlong commented 3 weeks ago

I'm getting an error when running this Colab notebook. When I run the cell dataset['train'][0], the 'image' field is a long list of bytes. I think this is the cause of the following error that I get when I run the succeeding cell: 'TypeError: Image data of dtype object cannot be converted to float'. Any suggestions?