Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change label_dir.py to move images to directories named with the label #6

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

BBB
Copy link

@BBB BBB commented Jan 10, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant