Skip to content
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

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 this issue Feb 5, 2024 · 6 comments

Comments

@108360215
Copy link

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
Copy link

HouNic97 commented Feb 6, 2024

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
Copy link
Author

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

@HouNic97
Copy link

@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
Copy link
Author

@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
Copy link
Author

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

@ooYwY
Copy link

ooYwY commented May 15, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants