发布时间:2021-08-10 17:19:15
#!/usr/bin/python# -*- coding: UTF-8 -*-import argparseimport jsonimport osimport os.path as ospimport base64import warningsimport PIL.Imageimport yamlfrom labelme import utilsimport numpy as npfrom skimage import img_as_ubytedef main(): .........【阅读全文】
发布时间:2021-08-09 17:26:03
import csvimport hashlibimport osfrom tkinter import *import numpy as npimport requestsfrom PIL import Imageimport xlwtheaders = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0)like Gecko)'}class image(): def .........【阅读全文】
发布时间:2021-08-06 17:22:20
def adjust_input(in_data):#调整输入 """ adjust the input from (h, w, c) to ( 1, c, h, w) for network input Parameters: ---------- &nb.........【阅读全文】
发布时间:2021-08-04 17:18:13
# coding:utf-8import wximport requestsimport jsonimport pyperclipclass Myframe(wx.Frame): def __init__(self): # 调用父类的初始化 wx.Frame.__init__(se.........【阅读全文】
发布时间:2021-08-03 17:12:17
import matplotlib.pyplot as pltimport torchimport numpy as npepoch_list=[]loss_list=[]class Model(torch.nn.Module): def __init__(self): super(Model,self).__init__() &n.........【阅读全文】