Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants