- 博客(8)
- 收藏
- 关注

原创 Deepsort目标跟踪算法绘制目标运动轨迹
Deepsort对于跟踪到的目标,利用cv2.line连接前后帧的跟踪框中点,从而得到目标轨迹有其他方法欢迎留言!wei zc1013x# outputs = [x1, y1, x2, y2, track_id]bbox_xyxy = outputs[:, :4]identities = outputs[:, -1]box_xywh = xyxy2tlwh(bbox_xyxy)# top left x top left y w hfor j in range(len(box_xy
2021-03-23 15:17:37
13962
137
原创 常用的遥感类期刊缩写
有任何错误请指正简写缩写RSERemote Sens. Environ.ISPRSISPRS J. Photogramm. Remote Sens.PAMI (IEEE Transactions on Pattern Analysis and Machine Intelligence)IEEE Trans. Pattern Anal. Mach. Intell.TIPIEEE Trans. Image Process.TGRSIEEE Trans. G
2023-08-31 15:34:22
1657
原创 deeplabv3运行报错
deeplabv3运行报错:RuntimeError: only batches of spatial targets supported (3D tensors) but got targets of size: : 【8, 480, 480, 3】
2022-05-19 10:16:54
909
2
原创 HRSID舰船检测数据集标签格式转换,json转为xml
HRSID数据集介绍参考原文:https://ieeexplore.ieee.org/document/9127939数据集下载链接:https://github.com/chaozhong2010/hrsid下载到的数据集标签信息全部存在train_test2017.json中,需转为单个的xml格式才能使用,转换代码如下,仅供参考:import xml.domimport xml.dom.minidomimport os# from PIL import Imageimport
2021-12-16 16:36:59
3470
21
原创 Pytorch指定版本安装,基于Anaconda
我习惯用anaconda建虚拟环境,就以anaconda安装pytorch1.3为例1、安装Anaconda下载链接:https://www.anaconda.com/下载好默认安装即可2、创建虚拟环境开始菜单打开Anaconda Prompt,如下图(2)在打开的命令行窗口(如下图)中,输入conda create -n pytorch1.3 python=3.6敲回车,(ps:其中,“pytorch1.3”为你定义的虚拟环境名,什么名都可以;python为3.6..
2021-11-27 11:23:21
8172
7
原创 RuntimeError: cannot perform reduction function max on tensor with no elements because the operation
解决方法:将标签中的difficult节点为1的改为0
2021-11-19 21:21:26
2597
3
原创 深度学习特征可视化,基于Grad-cam和yolov3生成热力图
参考代码为:https://github.com/withtimesgo1115/gradCAM-YOLOv3-pytorchGradCam.py运行到下面这行报错scores.backward()报错内容为:RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.cuda.FloatTensor [5
2021-10-29 19:51:51
3099
7
原创 Pytorch目标检测算法遇到的问题总结
记录一下自己遇到的问题和在网上查到的解决办法(更新中。。。)1、OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.解决方式:在train.py中导入库的位置添加代码:import osos.environ['KMP_DUPLICATE_LIB_OK'] = 'TRUE'.........
2021-10-09 11:23:08
961
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人