An exception while reading an image (such as PIL.Image.DecompressionBombError) during precache causes the entire training run to fail with an unhelpful error that doesn't even say what file didn't load. Instead, skip images that didn't load.
Issue ticket number and link (if applicable)
Checklist before requesting a review
[ ] This is based on the /dev branch (Or a fork of it)
[ + ] This was created or at least validated using a proper IDE
[ + ] I have tested this code and validated any modified functions
[ N/A ] I have added the appropriate documentation and hint strings if adding or changing a user-facing feature
Describe your changes
An exception while reading an image (such as PIL.Image.DecompressionBombError) during precache causes the entire training run to fail with an unhelpful error that doesn't even say what file didn't load. Instead, skip images that didn't load.
Issue ticket number and link (if applicable)
Checklist before requesting a review