-
Notifications
You must be signed in to change notification settings - Fork 58
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
Changing batch_size causes error in snn_evaluate #49
Comments
maybe #4 can help you. |
Hi Rashmi, did you get this code to work? How did you grab the dataset? |
Hi @sahenderson10 ! You can check data/get_coco_dataset.sh file to download images and metadata or download the dataset from https://pjreddie.com/media/files/train2014.zip and https://pjreddie.com/media/files/val2014.zip |
I have downloaded val2014 and train2014 and put them in the data file. How do I create the coco.data file to run the code? |
Hi @sahenderson10 ! This may help - #50 (comment) |
Downgrading the python and pytorch version, python=3.7 and pytorch=1.3, solved the issue. |
Hello author,
changing batch_size to default 1 for training and testing is causing error while transforming ann to snn (for yolov3-tiny-mp2conv-mp1none-lk2relu-up2tconv.cfg). The following error occurs in snn_evaluate,
File "ann_to_snn.py", line 183, in
snn_results, maps, firing_ratios = snn_evaluate(opt,
File "/PyTorch-Spiking-YOLOv3/spiking_utils/snn_evaluate.py", line 276, in snn_evaluate
output_snn1, output_snn2 = snn(data) # two branches
ValueError: too many values to unpack (expected 2)
Please let me know what may have gone wrong here.
Thanks in advance.
The text was updated successfully, but these errors were encountered: