We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7aeffac commit 4e791deCopy full SHA for 4e791de
deepul/hw3_helper.py
@@ -80,7 +80,7 @@ def calculate_is(samples):
80
assert (len(samples[0].shape) == 3)
81
82
model = GoogLeNet().to(ptu.device)
83
- model.load_state_dict(torch.load("deepul/deepul/hw4_utils/classifier.pt"))
+ model.load_state_dict(torch.load("deepul/deepul/hw3_utils/classifier.pt"))
84
softmax = nn.Sequential(model, nn.Softmax(dim=1))
85
86
bs = 100
deepul/hw3_utils/lena.jpg
102 KB
0 commit comments