-
Notifications
You must be signed in to change notification settings - Fork 67
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
Unable to use create_from_images_raw in training #2
Comments
Minimal code to reproduce this error:
|
same here |
Ok so the fix is to change two lines in training/dataset.py: line 112/113: switch the comment to:
line 166/167: switch the comment to:
|
@tr1pzz
I had the same issue as you. I tried your fix and got a different error:
I created the data set using dataset_tool.py after implementing your changes. This is on a custom data set from 6000+ png images that are each 384x640. |
Also experiencing the same issue outlined by @pender. Using (1024, 1024, 3) 150K JPEG images. Honestly have no clue what's causing it but currently investigating. |
I've discovered that the error only happens when using |
Having the same error here, same resolution and filetype of images |
I've updated my bugfix, I accidentally posted the wrong change line here, sorry for that! |
Whenever I create a dataset with create_from_images_raw, and then run a training job, I run into the following error:
The first issue was that training/dataset.py refers to (line 44)
instead of
But even with that adjustment the contents of the tf_records file seem to have wrong dimensions:
The text was updated successfully, but these errors were encountered: