cwq159 / PyTorch-Spiking-YOLOv3

A PyTorch implementation of Spiking-YOLOv3. Two branches are provided, based on two common PyTorch implementation of YOLOv3(ultralytics/yolov3 & eriklindernoren/PyTorch-YOLOv3), with support for Spiking-YOLOv3-Tiny at present.
GNU General Public License v3.0
207 stars 58 forks source link

ValueError: too many values to unpack (expected 2) #44

Closed Kyle-fang closed 2 years ago

Kyle-fang commented 2 years ago

Traceback (most recent call last): File "ann_to_snn.py", line 184, in snn_results, maps, firing_ratios = snn_evaluate(opt, File "/kyle/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)

Kyle-fang commented 2 years ago

python=3.8 pytorch=1.11

Kyle-fang commented 2 years ago

I downgraded the environment version solved the problem, used python=3.7. pytorch=1.3