This repository was archived by the owner on Nov 17, 2023. It is now read-only.
ImageIter with Multiple Labels only Get One Label #8515
Unanswered
jongchyisu
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I am using ImageIter to load multiple labels. I have used label_width=2 for generating rec files and also for ImageIter. I found that if I set shuffle=False, then it will only return one label (same label repeated twice) (the next_sample in image.py, the returned label only have one value), but I can get two labels correctly with shuffle=True. Is there something wrong?
Also, why the im2rec.py can generate both rec and idx files, but the bin/im2rec can only get rec file? How can I get idx file?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions