Dassl.pytorch icon indicating copy to clipboard operation
Dassl.pytorch copied to clipboard

Send nn.parameter to optimizer

Open Presleyliao opened this issue 1 year ago • 0 comments

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!

Presleyliao avatar Jun 19 '24 07:06 Presleyliao