Created
          January 22, 2020 02:00 
        
      - 
      
- 
        Save vsay01/114a0d427216dbaa041a898d81e09127 to your computer and use it in GitHub Desktop. 
    Create instance model FashionClassifier and move to GPU if available
  
        
  
    
      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
    
  
  
    
  | # Create the network, define the criterion and optimizer | |
| 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