When I convert ImageNet dataset to lmdb, convert_imageset will suspend and no longer process image data.Can you tell me how to solve this problem? I have tried it many time.I checked the log. Every time the number of images that was processed is different.
Asked
Active
Viewed 57 times
0
-
Is there anyone encountered this problem? convert_imageset tool is pending when converting a large number of images to lmdb. – Tyan Feb 13 '17 at 03:51
-
There is no exception,no error, just pending. – Tyan Feb 13 '17 at 03:55
-
1What have you tried so far can you show us some code which helps us to help you. – Jeet Feb 13 '17 at 04:03
-
I0220 12:42:47.004426 40804 convert_imageset.cpp:147] Processed 2000 files. – Tyan Feb 20 '17 at 03:54
-
It is pending when convert imageset.The log is no longer printed. – Tyan Feb 20 '17 at 03:57
1 Answers
0
check your image information file (ex. list.txt
) for correct formatting per line
every line contains one image file path followed by exactly one space,
followed by label index (which start from zero) and
no trailing spaces after label index.
if all above formatting requirements does not hold, convert_imageset
tool don't behave correctly.
Main points are it requires that only one space between image file path and label index, and no trailing space(s) at end of line.

Hongsoog
- 543
- 4
- 9