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

Facing a problem while training #3

Open
Preyansh1112 opened this issue Oct 5, 2022 · 3 comments
Open

Facing a problem while training #3

Preyansh1112 opened this issue Oct 5, 2022 · 3 comments

Comments

@Preyansh1112
Copy link

Preyansh1112 commented Oct 5, 2022

Dear Developers
@syaym
I am trying to train using mgmno_2000,pickle. I am running it on Google Colab, and in the last line of the train.py, I am getting a Runtime Error: Mismatch in shape: grad_output[0] has a shape of torch.Size([1]) and output[0] has a shape of torch.Size([]).
I am attaching a screenshot of the same.
Ask Question 1

The line where I am facing the error:
if name == 'main':
print("not import")
main()
else:
print("import")
pass

@MLDL-YY
Copy link

MLDL-YY commented Aug 8, 2024

Hello! Have you solved this problem so far?

@loldeng
Copy link

loldeng commented Sep 24, 2024

Hello, are you still researching this area?

@Preyansh1112
Copy link
Author

Preyansh1112 commented Sep 24, 2024 via email

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