Skip to content

Commit c4c9eee

Browse files
Merge pull request #121 from hyperion-ml/tyche-cleanup
fix cos-scale
2 parents 6523351 + 0475ba6 commit c4c9eee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hyperion/torch/models/xvectors/xvector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ def rebuild_output_layer(
501501
# if we change the number of classes or the loss-type
502502
# we need to reinitiate the last layer
503503
self.classif_net.rebuild_output_layer(
504-
num_classes, loss_type, s, margin, margin_warmup_epochs
504+
num_classes, loss_type, cos_scale, margin, margin_warmup_epochs
505505
)
506506
return
507507

0 commit comments

Comments
 (0)