Minor aesthetic change
This commit is contained in:
parent
b82bb54dbe
commit
bed753a6e9
@ -44,7 +44,7 @@ class PruneLoserPrototypes(pl.Callback):
|
|||||||
if self.verbose:
|
if self.verbose:
|
||||||
print(f"\nPrototype win ratios: {ratios}")
|
print(f"\nPrototype win ratios: {ratios}")
|
||||||
print(f"Pruning prototypes at: {to_prune}")
|
print(f"Pruning prototypes at: {to_prune}")
|
||||||
print(f"Corresponding labels are: {prune_labels}")
|
print(f"Corresponding labels are: {prune_labels.tolist()}")
|
||||||
cur_num_protos = pl_module.num_prototypes
|
cur_num_protos = pl_module.num_prototypes
|
||||||
pl_module.remove_prototypes(indices=to_prune)
|
pl_module.remove_prototypes(indices=to_prune)
|
||||||
if self.replace:
|
if self.replace:
|
||||||
|
Loading…
Reference in New Issue
Block a user