- 博客(5)
- 收藏
- 关注
原创 ByteTrack模型应用自己的检测器效果不好
有一个巨坑的地方就是,ByteTrack官方是只检测人的,具有针对性的进行了处理。for t in online_targets: tlwh = t.tlwh tid = t.track_id #vertical = tlwh[2] / tlwh[3] > args.aspect_ratio_thresh #if tlwh[2] * tlwh[3] > args.min_box_area and not vertical: online_tlwhs.append(tl
2022-04-08 17:56:25
3497
52
原创 python 矩阵乘法
python 矩阵乘法python中三种矩阵乘法① “@”符号的乘法② numpy包中封装的函数dot()③暴力破解 非函数式纯python代码python中三种矩阵乘法 此处不是对应元素相乘的矩阵乘法,主要是“行x列”这种。① “@”符号的乘法import numpy as npa = np.array([[2,3],[1,2],[3,1]])b = np.array([[1,2,3],[2,1,3]])res1 = a@bprint(res1)'''output:[[ 8 7 1
2021-08-19 18:04:24
1472
原创 torch.jit.trace()之正确的模型保存
有关torch.jit.teace报错RuntimeError: Remove calls to Python functions before export. Did you forget to add @script or @script_method annotation? If this is a nn.ModuleList, add it to __constants__:小白第一次写博客按照提示bug提示来操作问题解决办法Remove calls to Python functions be
2021-06-23 17:58:36
12479
5
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅