当前位置:网站首页>Yolov5 reports an error: attributeerror: 'upsample' object has no attribute 'recommend_ scale_ Solution of 'factor'

Yolov5 reports an error: attributeerror: 'upsample' object has no attribute 'recommend_ scale_ Solution of 'factor'

2022-06-22 08:28:00 Little markk

The following error occurred :

AttributeError: 'Upsample' object has no attribute 'recompute_scale_factor'

Need to put pytorch Version down to 1.9.0

# CUDA 11.3
conda install pytorch==1.9.0 torchvision==0.10.0 torchaudio==0.9.0 cudatoolkit=11.3 -c pytorch -c conda-forge

原网站

版权声明
本文为[Little markk]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/173/202206220821527775.html