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

Send nn.parameter to optimizer #67

Open
Presleyliao opened this issue Jun 19, 2024 · 0 comments
Open

Send nn.parameter to optimizer #67

Presleyliao opened this issue Jun 19, 2024 · 0 comments

Comments

@Presleyliao
Copy link

Hello, thank you for your great work!

I have an issue when I want to send nn.parameter to the optimizer, the error is as follow:
TypeError: params argument given to the optimizer should be an iterable of Tensors or dicts, but got torch.cuda.FloatTensor

Thank you!

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

1 participant