Main, knn_classifier and simclr modifications (#1901)
* Main, knn_classifier and simclr modifications * Fixed knn_classifier to not break with other models + removed redundant forward pass * Addressing reviews * fix minor things * formatting * fix unit tests * fix unit tests * fix unit tests * fix knn eval keys in vitb16 benchmarks * unit tests * only log knn if LightningModule has a Trainer attached * formatting * remove val_check_interval * apply normalization even if model does not exist * import future annotations --------- Co-authored-by: liopeer <lionel@lightly.ai>
Q
Quentincami committed
c79281202c5fcb5ce898eefc3647cb741fcf2190
Parent: d673713
Committed by GitHub <noreply@github.com>
on 4/19/2026, 8:50:36 PM