Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我将 ImageNet 数据集转换为 lmdb 时,convert_imageset 将暂停,不再处理图像数据。您能告诉我如何解决这个问题吗?我已经尝试了很多次。我检查了日志。每次处理的图像数量都不同。
检查您的图像信息文件(例如list.txt)以确保每行的格式正确
list.txt
每一行包含一个图像文件路径,后跟一个空格,
后跟标签索引(从零开始)和
标签索引后没有尾随空格。
如果上述所有格式要求都不成立,convert_imageset则工具的行为不正确。
convert_imageset
要点是它要求图像文件路径和标签索引之间只有一个空格,并且行尾没有尾随空格。