resize_rename.py

import cv2 import os import shutilweb path_A = ‘valA/’ path_B = ‘trainB/’ #path_C = ‘testA/’svg out_size = (256,256) #crop_size = (512,512) count = 0 for i in os.listdir(path_B): count += 1 #img_A = c
本站公眾號
   歡迎關注本站公眾號,獲取更多信息