Created
February 22, 2022 19:05
-
-
Save paulgavrikov/d46b67215bf70e5501015f8bdda8503c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import torch | |
IN_PATH = ... # path to your .onnx model (OUT_PATH if you used the previous example) | |
onnx_model = torch.onnx.load(IN_PATH) | |
torch.onnx.checker.check_model(onnx_model) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment