Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CUDA error on tutorial #3

Open
tasbolat1 opened this issue Apr 18, 2020 · 1 comment
Open

CUDA error on tutorial #3

tasbolat1 opened this issue Apr 18, 2020 · 1 comment

Comments

@tasbolat1
Copy link

Hello everyone,
while running tutorial on classification using dcll (second tutorial), I have encountered the following error during training very simple two layer mlp:

~/some_python_examples/VT_SNN/auxillary_files/../../pytorch-lif-autograd/decolle_public/decolle/base_model.py in forward(self, Sin_t)
    210         #print('Sin_t:', Sin_t)
    211 
--> 212         Q = self.beta * state.Q + self.tau_s * Sin_t
    213         P = self.alpha * state.P + self.tau_m * state.Q  # TODO check with Emre: Q or state.Q?
    214         R = self.alpharp * state.R - state.S * self.wrp

RuntimeError: CUDA error: an illegal memory access was encountered

I googled possible solutions, but with no success. Is there anything I am missing while setting DECOLLE?

Thanks,
Tas

@eneftci
Copy link
Member

eneftci commented Apr 27, 2020

I remember having these issues when having problems. I updated this version with the latest version. Please check if you have the same error now. If you're following the tutorial on pytorch-lif-autograd, note that there was a typo in the MLP parameters which prevented learning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants