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 9a66c11 commit db96c81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions model.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +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.add_block = add_block
self.classifier = classifier
def forward(self, x):
Expand Down

0 comments on commit db96c81

Please sign in to comment.