Tom Solberg
Tom Solberg
Sure! I'm trying to build an asset workflow around using NNEF as live assets; so we generate ONNXes from our ML pipelines; and ingest/store those as internal assets. At packaging...
Yeah; the difference between NNEF and ONNX was a bit of pain and cervo and lead to lots of duplication (essentially all APIs come in both "from_model" and "from_typed". I...
@kali Awesome! I'll see if I can find some time to update and try it out this week or early next week!
Sorry, I never got around to trying! Will do so immediately!
@kali Any immediate diagnostic? ``` RUST_BACKTRACE=1 tract image.nnef.tar --nnef-tract-core --nnef-tract-onnx -i input:1,3,224,224,f32 --allow-random-input run thread 'main' panicked at 'assertion failed: inv.id == \"external\"', /home/ts/.cargo/registry/src/github.com-1ecc6299db9ec823/tract-0.17.3/src/params.rs:261:25 stack backtrace: 0: rust_begin_unwind at /rustc/a8314ef7d0ec7b75c336af2c9857bfaf43002bfc/library/std/src/panicking.rs:584:5...
Same result. Also tried a bunch of variants with external, and various combos of the both. No dice. I'll sync down the code tomorrow and see what inv.id is, might...
``` thread 'main' panicked at 'assertion failed: `(left == right)` left: `"tract_core_external"`, right: `"external"`', cli/src/params.rs:261:25 ``` That looks like it's coming from inside tract-nnef, and only in one location. Should...
Getting further (with some additional changes...) but it looks like concretization still isn't getting far enough: ``` $ RUST_BACKTRACE=1 cargo run --bin tract -- ../brains/image.nnef.tar --nnef-tract-core --nnef-tract-onnx -i input:1,3,224,224 --allow-random-input...
Indeed! Made a PR with the other small touchups I did.
Hey @kali I think this is still not 100% working as intended. It does still work for `image.nnef.tar`, but I tried it on the other file I've sent you (`text.nnef.tar`),...