Expected 4-dimensional input for 4-dimensional weight 64 3 11 11, but got 3-dimensional input of siz
Expected 4-dimensional input for 4-dimensional weight 64 3 11 11, but got 3-dimensional input of size [3, 224, 224] instead解决办法原因解决办法img = transforms.expand_dims(img,0)原因我用pytorch里的transform函数处理的...
原创
2020-04-22 20:28:12 ·
10980 阅读 ·
6 评论