1 import glob 2 import os 3 4 inputPath = r'E:/data/pic/cat' 5 fileList = glob.glob(inputPath + '/*') 6 cnt = 0 7 for path in fileList: 8 os.rename(pa Read More
posted @ 2020-03-01 14:44
小雨点1206
Views(632)
Comments(0)
Diggs(0)
1 import os 2 import cv2 3 class GeneDataset(): 4 def __init__(self,rootdir): 5 self.rootdir = rootdir 6 self.subdirs = [] 7 def looksubdir(self): 8 l Read More
posted @ 2020-03-01 14:23
小雨点1206
Views(925)
Comments(0)
Diggs(0)