-
Notifications
You must be signed in to change notification settings - Fork 744
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
ONNX (v1.2.2) preset #547
ONNX (v1.2.2) preset #547
Conversation
…forceConsumed and AllowConsumed (In response to fixes in JavaCPP)
Looking good, thanks! Could you also do the following though?
And let's see what Travis CI has to say about that before we can merge! Thanks |
Done! |
…for linking, install dependencies for Travis only for onnx project
@saudet Just when I think I finally have these build issues fixed, something new pops up.
This is happening today for the first time, only with JavaCPP 1.4.2-SNAPSHOT. When I point to 1.4.1, no compile error (locally). |
Oops, sorry about, fixed: bytedeco/javacpp@be49bde BTW, installing miniconda on the host with apt-get probably won't work. The builds happen in Docker containers. Also, FYI, for faster turnaround with CI we can temporarily disable all other builds in |
Yeah, the build was taking forever, thanks for the suggestion, I disabled the other projects. |
We can "squash" the commits when merging with GitHub, so don't worry about that.
|
… install-travis.sh
…n be installed from conda-forge
@saudet ok, I got past the default_instance declaration errors by skipping. I still get these 2 errors though:
and
|
once again, it looks like skip did the trick. I'll push my changes now |
@saudet should be good to go |
Thanks! Looks like ONNX 1.2.2 is out. Could we update the presets? |
Would you also have some sample code we could put in a README.md file? |
I had a branch with 1.1.0 ready to go, looks like I can bump that to 1.1.2 without issue. I'll push the merged changes from that now. |
1.2.2 builds now but throws a runtime error in my first test with the jar |
looks like an issue with an rvalue reference that was introduced |
Can't really use those usually. Make sure it doesn't get called.
|
BTW, could you add a README.md file with your sample code in it? |
I've been fixing and cleaning this up, and now it looks good to merge! I've also changed the license to match the other presets, so please let me know if this not OK with you. Thanks! |
Thanks for that, it looks good at a first glance. I'm still getting the runtime error I mentioned before, on this call: The other issue is new with your changes, will comment inline |
@@ -1194,7 +1192,7 @@ private native void allocate( | |||
// Get output formal parameters. | |||
public native @Const @ByRef FormalParameterVector outputs(); | |||
|
|||
public native @Const @ByRef TypeConstraintParamVector typeConstraintParams(); | |||
public native @StdVector TypeConstraintParam typeConstraintParams(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does this no longer return a vector (TypeConstraintParamVector) ? This type change breaks my code (and no longer reflects schema.h).
…onst ` prefix (issue bytedeco/javacpp-presets#595) * Fix `Parser` sometimes ignoring `define` of `const ` containers (pull bytedeco/javacpp-presets#547)
Ok, I've fixed that and it seems to work fine now. Thanks for testing! |
Great, both issues are fixed now, thanks! |
No description provided.