cliangyu / simclr_medmnist

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

This repo is based on PyTorch SimCLR, added with MedMNIST datasets.

Examples

# PathMNIST
python run.py -data ./datasets -dataset-name PathMNIST --log-every-n-steps 100 -b 2048 --gpu-index 2 -j 32

# OrganAMNIST
python run.py -data ./datasets -dataset-name organamnist --log-every-n-steps 100 -b 2048 --gpu-index 2 -j 32

About

License:MIT License


Languages

Language:Jupyter Notebook 68.7%Language:Python 31.3%