Created
January 22, 2020 12:59
-
-
Save vsay01/16e62931ec8a62c2d46996703b867ebc to your computer and use it in GitHub Desktop.
Create load model instance
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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