发布时间:2021-03-16 17:24:34
import timeimport osfrom PIL import Imageimport cv2import numpy as np'''人为构造xml文件的格式'''out0 ='''<annotation> <folder>%(folder)s</folder> <filename>%(name)s</filename> <path>%(path)s</p.........【阅读全文】
发布时间:2021-03-12 17:28:33
import timefrom selenium import webdriverfrom selenium.webdriver.common.by import Byfrom selenium.webdriver.common.keys import Keysimport smtplibfrom email.mime.text import MIMETextfrom email.header import Header# 邮箱设置class Mail: def _.........【阅读全文】
发布时间:2021-03-11 17:27:02
#import re##########.的使用###############q = 'a'w = 'A'e = '_'r = '\n'pattern = '.'q1 = re.match(pattern,q)w1 = re.match(pattern,w)e1 = PayPal下载re.match(pattern,e)r1 = re.match(pattern,r)print(q1,'\n',w1,'\n',e1,'\n',r1)#########\d的使用######.........【阅读全文】
发布时间:2021-03-05 17:07:11
常规操作, 没什么好解释的. 缺模块的同学自行pip -install.import numpy as npimport timefrom matplotlib import pyplot as pltimport jsonimport copyimport osimport torchfrom torch import nnfrom torch import optimfrom torchvision import transforms, models, datasets.........【阅读全文】