Open ryuji99 opened 5 days ago
@Maximax67 You might wanna have a look at this. This error occurs when trying to decode corrupted images. It will not skip the images but instead throw this error. I made a cell that will detect and delete corrupt / invalid images. I couldn't check the code for any issues or problems, as I'm not a dev at all and did this mostly with AI.
I pasted the cell over at pastebin, as I am unable to post the code in this comment with correct formatting (skill issue): https://pastebin.com/Edmx16vL
I'd be glad if you could implement this (or a similar fix) for this problem to your public notebook.
Thank you. I am fixing this issue now. There is another bug with python dependencies. compute_embeddings
method throws errors in console for all images. It looks like I need to roll back to an older version of one of the dependencies. I'm trying to fix that now.
The problem is in this line too:
embeddings = dataset.compute_embeddings(model, batch_size=batch_size)