-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
metadata parsing #1490
base: main
Are you sure you want to change the base?
metadata parsing #1490
Conversation
Hello, thanks for your interest in tract. What are we trying to achieve here ? If we want to integrate ONNX metadata with tract, there are a couple issue I think is worth considering:
I think we can kill this three birds with one stone actually, if we handle metadata parsing and rewrapping in tract metadata inside onnx model loading functions. Alternatively, maybe what you are trying to achieve is a metadata access that does not require reading the entire file... WDYT ? |
i want to be able to access onnx metadata through the onnx model, similar to how we can access it through python. so i think i'll wrap the parsing of metadata in the onnx loading function, thanks! |
ive put a new loading function inside of the |
OK, so this is not what I had in mind. What I was thinking was: WDYT ? |
i actually thought about doing it that way too but i thought it was too complex for me to implement it , now that you mentioned it , i will take it up as a challenge and re-implement it in that way , thanks for the advice ! :) |
attempt at issue 1006