RuntimeError: The size of tensor a (30) must match the size of tensor b (54) at non-singleton dimension 0


問題:RT,下一組數據集的又變成RuntimeError: The size of tensor a (30) must match the size of tensor b (36) at non-singleton dimension 0,后面tensor b的值在不斷變化

解決:全景分割里面初始設定的mask的數量是30個,數據集里的mask多於了30個,這時需要把初始mask數量調大

后續問題:初始設定的mask過大,會導致顯存占用過大,因為它會讓所有數據集的mask數擴大為設定的數量


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM