-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
RuntimeError: Given input size: (576x27x27). Calculated output size: (576x-1x-1). Output size is too small #11
Comments
I'm having the same issue. Were you able to overcome that? |
Maybe you need to modify here, mobilenetv3_seg.py script class _LRASPP(nn.Module):
|
@raysue Thanks! This has fixed the issue! |
I encountered same error and have no idea why and modify it according @raysue then it works. |
When i exported onnx model, onnx cannot surpport adaptive_avg_pool2d.How can i fix the problem? |
upgrade your onnx version, use opset=13 or fix your input size use nn.AvgPool2d with suitable parameters : kernel_size and stride |
Replace this line: |
I got the error when i use the model of mobilenetv3_small to train,and i used my own dataset like as VOC. Would you give me some advice?
And,would you tell me the torch version and torchvision version?
The text was updated successfully, but these errors were encountered: