Closed 18339185538 closed 3 years ago
您好,我在运行local_test.py文件时出现了错误,而我一直解决不了,错误如下: RuntimeError: Expected 4-dimensional input for 4-dimensional weight [64, 3, 7, 7], but got 3-dimensional input of size [3, 256, 256] instead 我想知道[6,3,7,7]代表的是什么? 这个错误是发生在valed部分,在执行epoch1时train可以正常读取图片并运行,但到valed就报错了,希望能获得您的建议。
您好,我在运行local_test.py文件时出现了错误,而我一直解决不了,错误如下: RuntimeError: Expected 4-dimensional input for 4-dimensional weight [64, 3, 7, 7], but got 3-dimensional input of size [3, 256, 256] instead 我想知道[6,3,7,7]代表的是什么? 这个错误是发生在valed部分,在执行epoch1时train可以正常读取图片并运行,但到valed就报错了,希望能获得您的建议。