-
Notifications
You must be signed in to change notification settings - Fork 105
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
convert the model of objection #27
Comments
Hi, Thanks for your question. Implementing spiking networks for object detection would be a really cool feature for the toolbox. It will need some work though (and I won't be able to do it myself). As you say, the toolbox expects classifiers, so whenever the network is evaluated (before and after parsing, and after conversion), the toolbox tries to compute an accuracy score by taking the argmax of the network output and comparing it against the provided labels (in the file Another thing that you need to check is that the logging and plotting functions do not break. The toolbox can be configured to write various quantities to disk during and after simulation, and to generate plots of intermediate results etc. A simple workaround would be to just let the toolbox store and plot zeros for the accuracies and other things that you removed. But you may want to add functionality to store and plot your new output so you can debug and evaluate more easily. I suggest you try to follow the processing pipeline here to see what happens to the output of the network after simulating the SNN: snn_toolbox/snntoolbox/simulation/target_simulators/INI_temporal_mean_rate_target_sim.py Line 151 in 5f85df1
Basically everything after this line is about decoding the network output, logging and plotting results. This is where you will have to modify most. Here is one of the places where the ANN get's evaluated, which will have to be modified as well:
Good luck! |
Thanks! |
The h5 file of VGG is too big to put in the repository. You need to set the parameter If you don't set the parameter Otherwise, just set the |
I did what you said. ,the parameter path_wd was set, the model in the folder where the config file is. but it reported " No model found in config file ”,I spent a day finding the problem, but still not solved. Help! |
Please send me the full error trace, your config file, and a picture of your file structure (where the model and config file are). |
Thank you! Please contact me if you need me.
…------------------ 原始邮件 ------------------
发件人: "Bodo Rueckauer"<notifications@github.com>;
发送时间: 2018年12月18日(星期二) 晚上10:59
收件人: "NeuromorphicProcessorProject/snn_toolbox"<snn_toolbox@noreply.github.com>;
抄送: "王春妹"<980241073@qq.com>; "Author"<author@noreply.github.com>;
主题: Re: [NeuromorphicProcessorProject/snn_toolbox] convert the model ofobjection (#27)
Please send me the full error trace, your config file, and a picture of your file structure (where the model and config file are).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Sorry, I did not see any files. |
sorry,I reply by QQ E-mail, the file upload failed. I tried convert the caffemodel,it succeeded,the config file is ok. I think I probably know the reason of the error. When I ran my Python file on my computer, it still report the same error as this"NO model in the config file", so it should be my Python or keras problem. |
Hi Bodo,,
Your snn_toolbox is very good. I am learning SNN. I am learning your code, I want to convert the model of objection, for example ,YOLO, I found your model is about classification,I tried convert the YOLO (it is Keras model), but failed. I read your documentation ,but I havn't idea. What should I do? Should I going to write a function about detecting positioning? Can you give me suggestion?
The text was updated successfully, but these errors were encountered: