Skip to content

11 5 月, 2020

[已解決][PyTorch] RuntimeError: Expected object of scalar type Float but got scalar type Long for argument

Last Updated on 2021-07-01 by Clay

雖然僅僅只是個人體感,不過我認為在使用 PyTorch 的過程中,最容易遇到的報錯有兩個 —— 一個是模型的 ""Mismatch、另外一個就是我今天所紀錄的:

Read More »[已解決][PyTorch] RuntimeError: Expected object of scalar type Float but got scalar type Long for argument