Skip to content

Instantly share code, notes, and snippets.

@vsay01
Created January 22, 2020 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vsay01/16e62931ec8a62c2d46996703b867ebc to your computer and use it in GitHub Desktop.
Save vsay01/16e62931ec8a62c2d46996703b867ebc to your computer and use it in GitHub Desktop.
Create load model instance
model = FashionClassifier()
# move model to GPU if CUDA is available
if use_cuda:
model = model.cuda()
print(model)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment