201528014227051 / brian-stdp-mnist

Brian2 version of stdp-mnist
8 stars 3 forks source link

A query about the program not working properly #1

Open AbelSean opened 2 years ago

AbelSean commented 2 years ago

Thanks to the author for the open source work. When I run the Diehl&Cook_spiking_MNIST file, it runs for more than four hours and never completes. The specific output is shown below: PrtSc

By the way, compared with the code file provided by the author, there is an extra spiking_MNIST file. What is the function of this file? I would appreciate it if the problem could be solved.

Yunlong-He commented 2 years ago

the program doesn't complete, because there is no any spike found in neurons, I suspect there are some wrong parameters or bugs in the code.

below is the code cause infinit loop:

if np.sum(current_spike_count) < 5:
    quit()
    input_intensity += 1
    for i,name in enumerate(input_population_names):
        input_groups[name+'e'].rates = np.zeros(n_input,)*Hz
    b.run(resting_time)
201528014227051 commented 2 years ago

yes, I noticed this two, the process of the code rewrite can be found in https://wangbinqiang.blog.csdn.net/article/details/122478180 How to solve the problem is a open question now.

 

------------------ 原始邮件 ------------------ 发件人: "201528014227051/brian-stdp-mnist" @.>; 发送时间: 2022年6月23日(星期四) 上午10:43 @.>; @.***>; 主题: Re: [201528014227051/brian-stdp-mnist] A query about the program not working properly (Issue #1)

the program doesn't complete, because there is no any spike found in neurons, I suspect there are some wrong parameters or bugs in the code.

below is the code cause infinit loop: if np.sum(current_spike_count) < 5: quit() input_intensity += 1 for i,name in enumerate(input_population_names): input_groups[name+'e'].rates = np.zeros(n_input,)*Hz b.run(resting_time)
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

krogers-tai commented 11 months ago

Any update on this issue?