AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘
出现上述问题,改代码对于新手有点不太现实,直接该torch的版本就可以了。
把requirements.txt 中torch的版本改成如下图就可以解决问题了,下载相关的权重文件最好先下载到本地,建议tb-csdn。
yolov5-deepsort:AttributeError: ‘Upsample‘ object has no attribute ‘recompute_scale_factor‘
于 2022-03-18 14:19:02 首次发布