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

Fixed bug with image file names containing dots #67

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

Fixed bug with image file names containing dots #67

wants to merge 7 commits into from

Conversation

kwrobert
Copy link

@kwrobert kwrobert commented Feb 6, 2020

If any of the image files have dots in the name then the portion of predict.py that generates samples for the DataGenerator class mangles the names and you end up with a "FileNotFoundError" when trying predict the score for all images in a directory. This fixes that by splitting from the right and only splitting once, which has the intended effect of separating the entire file name from the file extension.

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.

2 participants