Optimization example error #680
Replies: 4 comments 1 reply
-
Thanks for pointing this out! I suspect this is due to one of our dependencies putting out an update since our last release of hnn-core Will do some digging and get back to you. |
Beta Was this translation helpful? Give feedback.
-
Which version are you using @raunakvijayakar? I suspect this is actually a bug fixed in #670. |
Beta Was this translation helpful? Give feedback.
-
Hi @rythorpe, I was using hnn v0.3, now I've updated to v0.4.dev0 and optimization is working. |
Beta Was this translation helpful? Give feedback.
-
Great, let us know if anything else comes up! Note that our development branch also has a new |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm running into an error when I try to run the example code, "05. Optimize simulated evoked response parameters." I haven't modified the example, and the documentation version matches my hnn-core version. I've had no errors in running the other code examples.
Everything runs fine until I reach the optimization block:
The first iteration of optimization step one runs without issue, but the following error appears before the second iteration can begin:
As you can see, the line refers to
_differentiable_functions.py
fromscipy
.System Information
hnn-core v0.3
Macbook Pro M2 (ventura 13.5.2)
python 3.11.4
I have also replicated the error on a Macbook Pro M1 and an iMac with intel procs.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions