You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The spatial size of your input images is too small for any YOLO model. You could try to resize the images to the original input size (640x640) of our model or modify our code to create a custom model suitable for your image size.
The spatial size of your input images is too small for any YOLO model. You could try to resize the images to the original input size (640x640) of our model or modify our code to create a custom model suitable for your image size.输入图像的空间大小对于任何 YOLO 模型来说都太小。您可以尝试将图像大小调整为我们模型的原始输入大小 (640x640),或修改我们的代码以创建适合您的图像大小的自定义模型。
Why does the code report this error when testing the test set after training? When I fixed the picture to 640, the error was still reported, please help me
This reported error occurs when kernel_size is bigger than its input_size in nn.AvgPool2d() or nn.MaxPool2d() function. The reason is when using ceil_mode=True, maxpool might return a dimension of 2 instead of 1, causing dimension mismatch. Switched to using ceil_mode=False or torch.max.
Dear blogger, after training an epoch, there is an error, what is the reason and how to solve it?
The text was updated successfully, but these errors were encountered: