Skip to content

functioncs/CLLR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLLR

Contrastive Learning with Low-Dimensional Reconstruction

Installation

  • Python 3.8
  • PyTorch 1.13
  • OpenCV

Training

Run the following command to train a low-dimensional encoder

python cl_train.py

Test

Run the following command to evaluate the model by (fine-tuning) a linear classifier

python cl_test.py --model_path results/xxx.pth

A pretrained model can be downloaded from here

This code is mainly inspired by SimCLR

About

Contrastive Learning with Low-Dimensional Reconstruction

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published