- The code may crash if an image is corrupted or is an unsupported file. If this happens, check your terminal to see which image the code crashed on, take note of the image, delete it and temporarily remove the directories that the code has already successfully finished running from the dataset/unformatted/images directory by default or the directory you have your Images_Vol_N.
- For example, If the code has successfully finished converting images in Images_Vol_1, Images_Vol_2 and Images_Vol_3 and crashed while trying to convert 4_010.tif in Images_Vol_4, take note of 4_010.tif, then temporarily remove folders Images_Vol_1, Images_Vol_2 and Images_Vol_3 from the directory you're running the code in, and re-run the code.
Create an autofix for this within the code to avoid crashes
Create an autofix for this within the code to avoid crashes