Skip to content

Commit

Permalink
[examples] Fix LeNet model parameters issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanghb97 committed Feb 27, 2024
1 parent 10d03c7 commit 74a4901
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/BuddyLeNet/buddy-lenet-import.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
)

model = LeNet()
torch.load(model_path + "/lenet-model.pth")
model = torch.load(model_path + "/lenet-model.pth")
model = model.eval()

# Initialize Dynamo Compiler with specific configurations as an importer.
Expand Down

0 comments on commit 74a4901

Please sign in to comment.