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
parkkyungjun
changed the title
When exporting from torch, the result of the input varies depending on the dummy input. What's wrong with this?
When exporting from torch, the result of the input varies depending on the dummy input. help me
Mar 24, 2024
parkkyungjun
changed the title
When exporting from torch, the result of the input varies depending on the dummy input. help me
When exporting from torch, the result of the input varies depending on the dummy input.
Mar 24, 2024
Ask a Question
Question
When exporting from torch, the result of the input varies depending on the dummy input. What's wrong with this?
Further information
torch.onnx.export(model, (dummy_input, th), model_path, verbose=True, export_params=True,
opset_version=12,
do_constant_folding=True,
input_names=['input', 'threshold'], output_names=['output1', 'output2'])
in my model forward
there is torch.cdist function
I am comparing the value saved in advance when performing the cdist operation with the output of the model after storing it in the model class's self.
I think cdist is the cause. And when using cdist, the speed is also very slow (cdist take almost 6 second )
help me
Model name:
Model opset:
Notes
The text was updated successfully, but these errors were encountered: