loiccordone / object-detection-with-spiking-neural-networks

Repository code for the IJCNN 2022 paper "Object Detection with Spiking Neural Networks on Automotive Event Data"
MIT License
57 stars 12 forks source link

ValueError: optimizer got an empty parameter list #16

Closed dnkscu closed 1 year ago

dnkscu commented 1 year ago

7C962D12-A521-46E0-95C9-6D59B5619AA0 Hello dear author, I encountered the error shown in the figure when using this line of code. python classification.py -dataset ncars -path path/to/NCARS_dataset -model densenet121-16 -T 5 -tbin 2 I can't find the file named "densenet121-16" in the source code, where is it defined? Please take a look at the cause of this problem, thank you!

one00101 commented 1 year ago

Hi, I meet the same error when I try to run the code, have you solved the problem? Thanks a lot~

Alloman commented 1 year ago

According to the statement in the file./models/utils.py, the param -model should be like 'densenet-121_16' for using DenseNet. This may be a mistake.

loiccordone commented 1 year ago

According to the statement in the file./models/utils.py, the param -model should be like 'densenet-121_16' for using DenseNet. This may be a mistake.

Yes, you are right. The error raised by a misread model name is not very clear, I should add a check. Thanks!