摘要:
#!/usr/bin/env sh # Create the imagenet lmdb inputs # N.B. set the path to the imagenet train + val data dirs EXAMPLE=examples/imagenet #可以改成自己文件夹名 DATA=data/ilsvrc12 #txt文件存储的位置 TOOLS=build/tools... 阅读全文
摘要:
采用了random.sample函数来随机选取特定数量的文件名作为测试集,通过比较两个列表中不同的元素来获取训练集的文件名。 总体上就是在进行字符串操作。 阅读全文