Skip to content

v0.9.94

Compare
Choose a tag to compare
@KevinMusgrave KevinMusgrave released this 06 Nov 22:51
· 787 commits to master since this release

Various bug fixes and improvements

  • A list or dictionary of miners can be passed into MultipleLosses. #212
  • Fixed bug where MultipleLosses failed in list mode. #213
  • Fixed bug where IntraPairVarianceLoss and MarginLoss were overriding sub_loss_names instead of _sub_loss_names. This likely caused embedding regularizers to have no effect for these two losses. #215
  • ModuleWithRecordsAndReducer now creates copies of the input reducer when necessary. #216
  • Moved cos.clone() inside torch.no_grad() in RegularFaceRegularizer. Should be more efficient? #219
  • In utils.inference, moved faiss import inside of FaissIndexer since that is the only class that requires it. #222
  • Added a copy_weights init argument to LogitGetter, to make copying optional #223