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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
torch.nn.DataParallel error #22
Comments
@gentlebreeze1 I did not meet this error before, are you running with our default codes? I guess your GPUs for loading the model and running the model are different, so you encounter this error. |
i train my own model,use |
i change as follows, it works.Will it affect the final result?@szq0214
|
my pre model size is 59.7M ,why save model size is 109M? after distillation ,model will grow bigger?@szq0214 |
Hi @gentlebreeze1 The model size will not grow after distillation, I guess you saved other parameters in your checkpoint. |
trian error 馃憤 RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:1 and cuda:0!
how to solve this problem? i use to(device),but it do not work.error in @szq0214
The text was updated successfully, but these errors were encountered: