You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I tried to use a SpikeGeneratorGroup as input in my Brian2genn (version= 1.6) simulation. But, I got an error. So, I tried to run a simple script to test if the SpikeGeneratorGroup was actually working. As a result, I also got an error with the simple script. On my computer, I can run the simulation using Brian2 (version = 2.5.0.3, device = cpp_standalone) , and I can even run simulations in Brian2genn if I do not use any SpikeGeneratorGroup.
Note: I am running the simulations in an Ubuntu 18.4 WSL on Windows 10.
This is the code of the simple simulation:
from brian2 import * import brian2genn set_device('genn', directory='simple_spikesource', use_GPU=False, debug=True) G = NeuronGroup(10, 'v:1') indices = np.array([3, 2, 1, 1, 4, 5]) times = np.array([6, 5, 4, 3, 3, 1]) * ms SG = SpikeGeneratorGroup(10, indices, times) S = Synapses(SG, G, on_pre='v+=1') S.connect(i = 0, j=0) run(7*ms)
I am attaching the error message in a txt file. I do not understand the error message. I hope you can help me to guess what could be the problem.
Can confirm the noted error on brian2genn==1.6, but it works on master. @marco-cyt, you'll want to clone this repo, cd into it, and pip install -e . it.
Hi everyone. Just for some explication: brian2genn 1.6 was released before brian2 2.5 came out, and is not compatible with it. In the future, we will make this clear in the dependencies, i.e. brian2genn will not work with versions that are newer than the one it was created for. But the real problem is that we still haven't done a 1.7 release, since as @kernfel noted, the current development branch of brian2genn has been compatible with Brian 2.5 for quite a while! I'll try to do this soon.
Hello, I tried to use a SpikeGeneratorGroup as input in my Brian2genn (version= 1.6) simulation. But, I got an error. So, I tried to run a simple script to test if the SpikeGeneratorGroup was actually working. As a result, I also got an error with the simple script. On my computer, I can run the simulation using Brian2 (version = 2.5.0.3, device = cpp_standalone) , and I can even run simulations in Brian2genn if I do not use any SpikeGeneratorGroup.
Note: I am running the simulations in an Ubuntu 18.4 WSL on Windows 10.
This is the code of the simple simulation:
from brian2 import *
import brian2genn
set_device('genn', directory='simple_spikesource', use_GPU=False, debug=True)
G = NeuronGroup(10, 'v:1')
indices = np.array([3, 2, 1, 1, 4, 5])
times = np.array([6, 5, 4, 3, 3, 1]) * ms
SG = SpikeGeneratorGroup(10, indices, times)
S = Synapses(SG, G, on_pre='v+=1')
S.connect(i = 0, j=0)
run(7*ms)
I am attaching the error message in a txt file. I do not understand the error message. I hope you can help me to guess what could be the problem.
error.txt
The text was updated successfully, but these errors were encountered: