发布时间:2021-07-01 17:16:53
#python创建并写入新文件,#python统计特定文件夹下的word和pdf的数量import glob,os# path就是你说的特定文件夹path = r"D:\linshi"# 这里的pdf可以换成docxfile=glob.glob(os.path.join(path, "*.pdf"))count = 0for i in file: count = count + 1prin.........【阅读全文】
发布时间:2021-06-30 17:18:05
#include<opencv2\opencv.hpp>#include<opencv2\dnn.hpp>#include <iostream>#include<map>#include<string>#include<time.h>using namespace std;using namespace cv;const char* classNames[]= {"background", "person", "bicycle", "car", "motorcycle", "airplane", "bus", "train",.........【阅读全文】
发布时间:2021-06-29 17:21:09
from pandas import ExcelWriterimport numpy as npimport osimport pandas as pdimport xml.etree.ElementTree as et# UCD_trn xml file pathxml_path = r"..\gcam-v5.2\input\extra" # xml file folderdir_extra = os.listdir(xml_path) # SSP3 uses trn_UCD_SSP3trn_xml_ls = [.........【阅读全文】
发布时间:2021-06-28 17:16:48
import pycuda.autoinit import pycuda.driver as cudaimport tensorrt as trtimport torch import time from PIL import Imageimport cv2,osimport torchvision import numpy as npfrom scipy.special import softmax### get_img_np_nchw h和postprocess_the_output函数根据需.........【阅读全文】
发布时间:2021-06-25 17:18:42
import java.lang.reflect.Field;import java.lang.reflect.Modifier;import java.util.ArrayList;import java.util.HashMap;import java.util.List;import java.util.Map;import java.util.function.BiConsumer;import java.util.function.Function;import java.util.function.Supplier.........【阅读全文】