Skip to content

Commit

Permalink
Update model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
layumi authored Jul 2, 2024
1 parent d6304b6 commit 9a92dd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def __init__(self, input_dim, class_num, droprate, relu=False, bnorm=True, linea
classifier = nn.Sequential(*classifier)
classifier.apply(weights_init_classifier)

classifier.linear_num = linear
self.linear_num = linear
self.add_block = add_block
self.classifier = classifier
def forward(self, x):
Expand Down

0 comments on commit 9a92dd4

Please sign in to comment.