-
When trying to export the Maxvit models trained on torch2.0 to ONNX, you run into the following error I've tried the custom opset operator from that issue, but outputs are not consistent with Timm torch outputs. What is the best way to handle this? I could train the maxvit series on torch 1.13 to avoid using the Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@jturner116 hrmm, didn't notice the ONNX issue I don't understand why PyTorch always breaks things like this when they add new ops :/ Using the vit one as example, does it work if you do something like (not the is_tracing addition)?
|
Beta Was this translation helpful? Give feedback.
@jturner116 hrmm, didn't notice the ONNX issue I don't understand why PyTorch always breaks things like this when they add new ops :/
Using the vit one as example, does it work if you do something like (not the is_tracing addition)?