Skip to content
forked from sthalles/SimCLR

PyTorch implementation of SimCLR: A Simple Framework for Contrastive Learning of Visual Representations

License

Notifications You must be signed in to change notification settings

Spark117318/SimCLR

 
 

Repository files navigation

SimCLR_Pytorch

Only train_simclr_cifar10.py and logistic_regression.py are written by myself. The rest of this repository is forked from SimCLR. To run the script, you can refer to the README of SimCLR. Also, you can simply run my script by executing:

python train_simclr_cifar10.py

After obtaining the checkpoints, run:

python logistic_regression.py

to perform logistic regression.

Hint

Remember to change the dataset path in train_simclr_cifar10.py.

About

PyTorch implementation of SimCLR: A Simple Framework for Contrastive Learning of Visual Representations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 58.9%
  • Python 41.1%