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

MDConv class in Mixnet,bug:Expected object of device type cuda but got device type cpu for argument #2 'weight' in call to _thnn_conv_depthwise2d_forward #23

Open
GitHubyu007 opened this issue Jan 13, 2022 · 0 comments

Comments

@GitHubyu007
Copy link

SolveMixnet:MDConv class self.layers add to the network by self.layers = nn.Sequential(*self.layers【Better change the name or something】)
Otherwise an error:RuntimeError: Expected object of device type cuda but got device type cpu for argument #2 'weight' in call to _thnn_conv_depthwise2d_forward

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