chenyuntc / pytorch-book

PyTorch tutorials and fun projects including neural talk, neural style, poem writing, anime generation (《深度学习框架PyTorch:入门与实战》)
MIT License
11.99k stars 3.73k forks source link

第六章为什么出现RuntimeError错误 #233

Open BennyKuya opened 3 years ago

BennyKuya commented 3 years ago

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