pytorch 各种坑

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_29007291/article/details/84590962
  1. 制作dataloader时, 忘了做图像尺寸的同一调整:
    RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 0. Got 182 and 360 in dimension 2
RuntimeError: invalid argument 0: Sizes of tensors must match except in dimension 0. Got 182 and 360 in dimension 2

猜你喜欢

转载自blog.csdn.net/qq_29007291/article/details/84590962