0

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.

Tyan
  • 1

1 Answers1

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