1、Determine if the folder exists, and if it does not exist, create. import osif not os.path.exists(path):os.mkdir(path) 2、Traversing folders with files in a specific format. import osimport fnmatchimg_list = fnmatch.filter(os.listdir(path), '*.png')for img in img_list :…… 3、Rename the file. import osos.rename(Old_Dir,New_Dir) 4、Path connection. import osNew_Dir=os.path.join(path,filestr,filetype) 5、Copy files. import shutilshutil.copy(Old_Dir, New_Dir) 6、Replace the suffix name jpg_img=files[:-4]+".jpg" 7、Replace characters […]
On Windows Set the program to start when the system is powered on. 1、Open RUN (by Win +R ) 2、Enter shell:startup 3、Paste the shortcut of the program
Detailed explanation of deep learning configuration, including historical versions. This article contains many useful links. 1、Install Visual Studio and CUDA VS is not required, but it is highly recommended to install it.https://visualstudio.microsoft.com/ Note: Visual Studio should be installed before installing CUDA, but the choice of Visual Stuido version needs to refer to the CUDA version, […]