Closed raunakvijayakar closed 11 months ago
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.
Which version are you using @raunakvijayakar? I suspect this is actually a bug fixed in #670.
Hi @rythorpe, I was using hnn v0.3, now I've updated to v0.4.dev0 and optimization is working. Thank you so much!
Great, let us know if anything else comes up! Note that our development branch also has a new Optimizer
class to try out if you're ever in need of a more flexible API for optimizing different types of simulation metrics. The old version works just fine as well, but check out this tutorial if you're interested. :)
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.