-
-
Save jnovikov/02a9aff9bf2188033e77bd91ff062856 to your computer and use it in GitHub Desktop.
Onnx runtime poc
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
Pls download the https://drive.google.com/file/d/17ZzAfb_VLAAd_Xto9_Mb98o-x6_5YfMv/view?usp=sharing |
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 onnxruntime as rt | |
sess = rt.InferenceSession('./model_hack.onnx') | |
print(sess.get_inputs()[0].name) | |
print(sess.get_outputs()[0].name) | |
res = sess.run(['t_output'], {'f_input': [0]}) | |
print(bytes(res[0])) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment