-
Notifications
You must be signed in to change notification settings - Fork 431
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UserWarning: Default upsampling behavior when mode=bilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details. #7
Comments
I meet same problems,can you solve it ?@fengzifrank |
This is a warning from PyTorch as there is a change in the behavior of upsampling since version 0.4.0. You can safely ignore this warning. |
The problem of changing his model is solved. CornerNet_Saccade() seems to have some problems. #!/usr/bin/env python detector = CornerNet_Squeeze() bboxes = detector(image) |
This error occurs when I run demo.py |
In pytorch official tutorial, there are some clear explanation about this problem. https://pytorch.org/docs/stable/nn.html?highlight=upsample#torch.nn.Upsample |
seems it is related with pytorch jit: DeepVAC/TorchPod#47 |
I solved problem. |
This error occurs when I run demo.py. Is this a problem with pytorch? However, the environment is executed according to the configuration file. thank you
loading from /test/CornerNet-Lite/core/../cache/nnet/CornerNet_Saccade/CornerNet_Saccade_500000.pkl
/opt/conda/envs/CornerNet_Lite/lib/python3.7/site-packages/torch/nn/functional.py:2423: UserWarning: Default upsampling behavior when mode=bilinear is changed to align_corners=False since 0.4.0. Please specify align_corners=True if the old behavior is desired. See the documentation of nn.Upsample for details.
"See the documentation of nn.Upsample for details.".format(mode))
The text was updated successfully, but these errors were encountered: