Home Artists Posts Import Register

Downloads

Content

Join discord and tell me your discord username to get a special rank : SECourses Discord

Patreon exclusive posts index

2023 November 20 Update:

  • New image_files_verifier.py & run_image_files_verifier.bat script added
  • This script will scan folder and sub folder images and log the invalid images into a invalid_images_log.txt file so you can find and fix broken images
  • You can also make it move files into a new folder. Enabled by default

Recently one of our Patreon supporters were having corrupted image problem among 100k+ training images. This attached below script will test each one of your images and moves the ones that are corrupted (breaking training) into another folder.

How to use?

First edit image_files_verifier. py and set your paths 

  • folder_path
  • broken_folder_path
  • move_broken - True or False
  • Then double click and run run_image_files_verifier.bat on Windows

On Linux or RunPod open a command line and execute like below

* python image_files_verifier.py

Comments

No comments found for this post.