Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.
/ NNCLR Public archive

Implementation of the nearest neighbour CLR paper

Notifications You must be signed in to change notification settings

MalteEbner/NNCLR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repo has been incorporated into the Lightly repo for self-supervised learning.

You find the NNCLR model with code examples there: https://docs.lightly.ai/examples/nnclr.html

Please create any issues in the Lightly repository. This repository is not maintained anymore.

NNCLR

Basic implementation:

source/nn_memory_bank.py implements a memory bank with nearest neigbours. In its forward pass, you input an output which updates the bank. Then the nearest neighbours to the output are returned.

nn_with_simsiam.py is mostly the same file as from https://github.com/IgorSusmelj/simsiam-cifar10/blob/main/main.py. It is changed to replace the embeddings for out0 with their nearest neighbours from the memory bank.

About

Implementation of the nearest neighbour CLR paper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages