Closed CloudyDory closed 1 year ago
Hi, @CloudyDory , so many thanks for your report. The above error is caused by the compatible issue of the latest JAX, see #431. I have released brainpy==2.4.3.post4. It will solve this kind of issues.
Hi @chaoming0625 Thank you for the fast reply! I have updated to 2.4.3.post4, the error is gone, but the output image is still the same, and different from the documentation.
The current results are correct. WilsonCowanModel
has been revised and changed after 2.4.1.
You can verify your simulation results by inspecting the phase plane analysis.
bp.math.enable_x64()
pp = bp.analysis.PhasePlane2D(
wc,
target_vars={'x': [-0.2, 1.], 'y': [-0.2, 1.]},
# target_pars={'x_ext': [-2, 2]},
pars_update={'y_ext': 0., 'x_ext': -0.5},
resolutions=0.001
)
pp.plot_nullcline()
pp.plot_fixed_point()
pp.plot_vector_field()
pp.show_figure()
With external input = -0.5
, there is only a global stable attractor.
Therefore, all simulation will converge to point of [0., 0.]
Thank you for the verification! I guess the result in quick start guide should be updated then.
Please:
Hi, I have installed BrainPy (2.4.3.post3) yesterday and I am following the demos in the quick start guide . The first two demos (EI balance network and decision network) runs fine, but the third neural mass model errors and produces different result.
Here is my code:
Here is the command line output and error trace:
And the output figure is different from the documentation:
Hope to know how to fix the issue. Thanks!