Skip to content

Commit

Permalink
change typo
Browse files Browse the repository at this point in the history
  • Loading branch information
khrlimam committed Jul 30, 2019
1 parent 58c69c8 commit 1c7e51c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion models.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def __init__(self, pretrained=False):

self.model = resnet50(pretrained)
self.embedding_size = 128
num_classes = 500
self.cnn = nn.Sequential(
self.model.conv1,
self.model.bn1,
Expand All @@ -33,7 +34,7 @@ def __init__(self, pretrained=False):
# nn.ReLU(),
nn.Linear(100352, self.embedding_size))

self.model.classifier = nn.Linear(self.embedding_size, num_classes)
self.model.classifier = nn.Linear(self.embedding_size, num_classes)

def l2_norm(self, input):
input_size = input.size()
Expand Down

0 comments on commit 1c7e51c

Please sign in to comment.