We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
model = torch.load(‘mbv3_small.pth.tar‘, map_location='cpu') print('Loading base network...') weight = model["state_dict"] base_net = torch.nn.DataParallel(base_net) base_net.load_state_dict(weights)
The program has been running, no response
The text was updated successfully, but these errors were encountered:
you can try it
model = torch.load('./mbv3_small.pth', map_location = 'cpu') print('Loading base network...') weight = model["state_dict"] base_net = torch.nn.DataParallel(net) base_net.load_state_dict(weight) y = net(x) end = time.time() print('Running time: %s Seconds' % (end - start)) print(y.size())
Sorry, something went wrong.
No branches or pull requests
The program has been running, no response
The text was updated successfully, but these errors were encountered: