BICLab / EMS-YOLO

Offical implementation of "Deep Directly-Trained Spiking Neural Networks for Object Detection" (ICCV2023)
https://arxiv.org/abs/2307.11411
GNU General Public License v3.0
139 stars 12 forks source link

RuntimeError: Given groups=1, weight of size [3, 32, 2, 2], expected input[1, 3, 256, 256] to have 32 channels, but got 3 channels instead #9

Open 108360215 opened 7 months ago

108360215 commented 7 months ago

My data is Gen1 data, I use command: "python train_g1.py", and I need help to solve this. could everyone help me. Thanks!

HouNic97 commented 7 months ago

My data is Gen1 data, I use command: "python train_g1.py", and I need help to solve this. could everyone help me. Thanks!

Hi bro,have you already solved Problem“Train_g1.py has no dataset about .txt” AND HOW?

108360215 commented 7 months ago

@HouNic97 I replace datasets_g1T.py with give_g1_data.py(LoadImagesAndLabels). But I still can't implement train_g1.py.

HouNic97 commented 7 months ago

@HouNic97 I replace datasets_g1T.py with give_g1_data.py(LoadImagesAndLabels). But I still can't implement train_g1.py.

Q

Thank you for your response. I don't quite understand the settings for these three paths. How did you set them, and where do I need to set them?(give_g1_data.py : line 410 ,line 440 and line 441)

108360215 commented 6 months ago

@HouNic97 Hi, I also try to figure out this source code. I am still not implementing on train_g1.py, if you work successfully pls tell me. Thanks.

108360215 commented 5 months ago

@HouNic97 I know these path should be your gen1 data file path

ooYwY commented 3 months ago

请问这个问题解决了吗 该怎么解决呢