- 博客(23)
- 资源 (1)
- 收藏
- 关注
原创 划分PKUv1a_128x48数据集供ZQPai的deepSort的REID训练
import osimport shutildef creat_files(): try: shutil.rmtree('./data2/train') shutil.rmtree('./data2/test') except: pass try: os.makedirs('./data2/train') os.makedirs('./data2/test') except:
2022-11-09 16:39:14
42
转载 tensorboard使用时报错:UnicodeDecodeError:“utf-8“
详情见下面链接:https://blog.youkuaiyun.com/Late_whale/article/details/106727814
2021-11-18 16:34:05
1017
原创 可自动调节OpenCV弹出窗口大小
本人做视频检测时,弹出的测试窗口不能用鼠标自由改变窗口大小,加了一行代码就能自由改变窗口大小,在cv2.imshow(窗口名,图片)前加一行cv2.namedWindow(窗口名, 0),后面写0,手动调节窗口大小;1自动大小,不可调节。cv2.namedWindow(p, 0); #创建窗口,后面写0,手动调节窗口大小,1自动大小,不可调节#cv2.resizeWindow(p, 500, 500); # 创建一个500 * 500窗口cv2.imshow(p, im0)...
2021-11-17 16:48:34
3525
原创 RuntimeError: Error(s) in loading state_dict for Net:
size mismatch for classifier.4.weight: copying a param with shape torch.Size([7, 256]) from checkpoint, the shape in current model is torch.Size([751, 256]).size mismatch for classifier.4.bias: copying a param with shape torch.Size([7]) from checkpoint, t
2021-11-17 16:40:34
2560
13
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人