AttributeError: 'module' object has no attribute 'interpolate'

由於我的pytorch一致安裝不了1.0.0以上的版本,所以一直用的是0.4.0,很多更新的函數.

AttributeError: 'module' object has no attribute 'interpolate'


這個問題上只要把interpolate替換成upsample就可以了.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章