摘要:
mount -t cifs //192.168.1.23/data path_local -o username=nihao,password=2023 阅读全文
摘要:
pytorch的torchvision.ops.roi_align这个算子真的是坑我好多天啊!害我连续加班半个月!二阶段目标检测后面用roi_align来提取特征。 接口官方说明: https://pytorch.org/vision/stable/generated/torchvision.ops 阅读全文
摘要:
#python 读取文本: ##方法1: with open(txt_path, "r") as fr: lines = fr.readlines() for line in lines: line = line.strip() #去除换行符 \n ##方法2: f = open("tmp2.txt 阅读全文
摘要:
import time str_time_now = time.strftime("%Y-%m-%d_%H:%M:%S", time.localtime()) ##2023-01-10_09:58:33 2023-01-10_09:58:33 用str_time_now可以很方便的嵌入到文件名中,方 阅读全文