convexHull with JAX not working #15381
Unanswered
jacquesbarman27
asked this question in
Q&A
Replies: 1 comment 2 replies
-
Hi - thanks for the question! JAX transformations do not work with arbitrary Python code, and in particular will not work with |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am trying to use JAX for an optimization problem. In my problem, I need to compute the volume and surface area of a geometry given by its vertices. To do this, I use the function convexHull from "from scipy.spatial import ConvexHull". Unfortunately, it seems like JAX can't follow the scipy object and it gives me an error. The issue seems to be with the grad function. Is there a way to use convexHull with JAX? Any ideas on how to fix this?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions