Files
004_comission/vinniesniper-54816/task1/_lab/007-train-beach-test2/negdata/_GenTXT.py
louiscklaw b3cc8e8323 update,
2025-01-31 22:57:47 +08:00

10 lines
204 B
Python

# -*- coding:utf8 -*-
import os
# 生成路径列表文件
# os.system("dir /b/s/p/w *.jpg > neg.txt")
os.system("find " + os.path.abspath(os.curdir) + " -name '*.jpg' > neg.txt")
# os.system("pause")