This PR changes the label_dir.py script so that it moves image rather than copying and renaming them.
It outputs them folder with the label names that that classifier has been trained with. This makes it easier to use the output from the classifier to train it again.
It also adds some error handling for image issues like #5 and refactors the code to be more consistent and pythonic.
This PR changes the
label_dir.py
script so that it moves image rather than copying and renaming them.It outputs them folder with the label names that that classifier has been trained with. This makes it easier to use the output from the classifier to train it again.
It also adds some error handling for image issues like #5 and refactors the code to be more consistent and pythonic.