Skip to content

Commit

Permalink
Updated README.md for #364
Browse files Browse the repository at this point in the history
See #364 for a deep description of the problem
  • Loading branch information
Francesco Saverio Zuppichini committed May 19, 2020
1 parent 3761100 commit b95a720
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/image_classifier/README.md
Expand Up @@ -45,6 +45,7 @@
from torchvision import models
import torch
model = models.densenet161(pretrained=True)
model.eval()
example_input = torch.rand(1, 3, 224, 224)
traced_script_module = torch.jit.trace(model, example_input)
traced_script_module.save("dense161.pt")
Expand Down

0 comments on commit b95a720

Please sign in to comment.