Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save n0obcoder/87d008fb5e7747fc380ffe2fa389b7d5 to your computer and use it in GitHub Desktop.

Select an option

Save n0obcoder/87d008fb5e7747fc380ffe2fa389b7d5 to your computer and use it in GitHub Desktop.
model_new = NeuralNet()
model_new.load_state_dict(torch.load('weights_only.pth'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment