(deepsort) C:\Users\zhang\Desktop\Yolov5_DeepSort_Pytorch-3.0>python track.py --source test.mp4 --show-vid
D:\Anaconda\envs\deepsort\lib\site-packages\torch\functional.py:445: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ..\aten\src\ATen\native\TensorShape.cpp:2157.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
video 1/1 (1/49789) C:\Users\zhang\Desktop\Yolov5_DeepSort_Pytorch-3.0\test.mp4: Traceback (most recent call last):
File "track.py", line 277, in
detect(args)
File "track.py", line 219, in detect
print('%sDone. (%.3fs)' % (s, t2 - t1))
TypeError: unsupported operand type(s) for -: 'NoneType' and 'NoneType'
求解答,YOLOV5 DeepSort 的试运行一直都有各种问题,这次实在不会了
- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
3条回答 默认 最新
- qq_42535336 2022-04-02 11:54关注
UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at C:\actions-runner_work\pytorch\pytorch\builder\windows\pytorch\aten\src\ATen\native\TensorShape.cpp:2228.)
return _VF.meshgrid(tensors, **kwargs) # type: ignore[attr-defined]
修改为return _VF.meshgrid(tensors, **kwargs, indexing = 'ij') # type: ignore[attr-defined],警告解除解决 9无用
悬赏问题
- ¥20 limma多组间分析最终p值只有一个
- ¥15 nopCommerce开发问题
- ¥15 torch.multiprocessing.spawn.ProcessExitedException: process 1 terminated with signal SIGKILL
- ¥15 QuartusⅡ15.0编译项目后,output_files中的.jdi、.sld、.sof不更新怎么解决
- ¥15 pycharm输出和导师的一样,但是标红
- ¥15 想问问富文本拿到的html怎么转成docx的
- ¥15 我看了您的文章,遇到了个问题。
- ¥15 GitHubssh虚拟机连接不上
- ¥15 装完kali之后下载Google输入法 重启电脑后出现以下状况 且退不出去 桌面消失 反复重启没用
- ¥15 ESP-IDP-BLE配网连接wifi