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
I use the ‘Airline_demo.py’ to test the images and the original file can get normal results. But when I add Premodel.eval(), the result is 0(other parameters remain the same).
without model.eval()
with model.eval()
The text was updated successfully, but these errors were encountered:
When I export onnx using torch.onnx.export, the bn layer exports in eval mode by default, If the onnxruntime inference is used, the result is incorrect. But when I export the bn layer in TRAINING mode, when converting to tensorrt, it will prompts that the BN layer is in TRAINING mode, which makes it impossible to convert. So I think I still need to check this issue.
I use the ‘Airline_demo.py’ to test the images and the original file can get normal results. But when I add Premodel.eval(), the result is 0(other parameters remain the same).
without model.eval()
with model.eval()
The text was updated successfully, but these errors were encountered: