{"id":27595936,"url":"https://github.com/chagmgang/simclr_pytorch","last_synced_at":"2026-05-17T11:32:45.270Z","repository":{"id":95666879,"uuid":"247700707","full_name":"chagmgang/simclr_pytorch","owner":"chagmgang","description":"A Simple Framework for Contrastive Learning of Visual Representations of pytorch implementation","archived":false,"fork":false,"pushed_at":"2020-03-23T00:11:01.000Z","size":2655,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-10T10:29:34.694Z","etag":null,"topics":["deep-learning","pytorch","representation-learning","simclr"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chagmgang.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-03-16T12:48:47.000Z","updated_at":"2024-01-17T17:36:01.000Z","dependencies_parsed_at":"2023-05-04T16:35:35.232Z","dependency_job_id":null,"html_url":"https://github.com/chagmgang/simclr_pytorch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chagmgang/simclr_pytorch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chagmgang%2Fsimclr_pytorch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chagmgang%2Fsimclr_pytorch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chagmgang%2Fsimclr_pytorch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chagmgang%2Fsimclr_pytorch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chagmgang","download_url":"https://codeload.github.com/chagmgang/simclr_pytorch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chagmgang%2Fsimclr_pytorch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33136726,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T09:28:26.183Z","status":"ssl_error","status_checked_at":"2026-05-17T09:27:52.702Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deep-learning","pytorch","representation-learning","simclr"],"created_at":"2025-04-22T12:37:34.086Z","updated_at":"2026-05-17T11:32:45.252Z","avatar_url":"https://github.com/chagmgang.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Simple Framework for Contrastive Learning of Visual Representations with Pytorch\n\n* Pytorch Impementation [A Simple Framework for Contrastive Learning of Visual Representations](https://arxiv.org/abs/2002.05709)\n\n## DataAugmentation\n\n|   |  negative |  negative |  negative | negative  |\n|---|---|---|---|---|\n|  positive |  ![6](source/positive/6.png) |  ![7](source/positive/7.png) |  ![8](source/positive/8.png) |  ![9](source/positive/9.png) |\n|  positive |  ![1](source/positive/1.png) |  ![2](source/positive/2.png) |  ![3](source/positive/3.png) |  ![4](source/positive/4.png) |\n\n## Dependency\n\n```\npython-opencv\ntorch\ntorchvision\nmatplotlib\npandas\nPIL\n```\n\n## Directory\n```\n├── data\n│   ├── 1.jpg\n│   ├── 2.jpg\n│   ├── 3.jpg\n│   ├── ...\n│   ├── 5.jpg\n│   └── 6.jpg\n├── .gitignore\n├── dataset_wrapper.py\n├── model.py\n├── nt_xent_loss.py\n├── README.md\n└── simclr.py\n```\n\n## RUN\n\n```\n(pytorch) xxx:xxx xxx$ python simclr.py \n----------------\nepoch : 0\nloss  : 1.5892890691757202\nlr    : 0.0003\n----------------\nepoch : 1\nloss  : 1.5985093116760254\nlr    : 0.00029699999999999996\n----------------\n...\n----------------\nepoch : 5\nloss  : 0.6665001213550568\nlr    : 0.00028529701496999996\n----------------\nepoch : 6\nloss  : 0.5047109872102737\nlr    : 0.0002824440448203\n----------------\nepoch : 7\nloss  : 0.4476690739393234\nlr    : 0.00027961960437209696\n----------------\n```\n\n## Reference \n\n* [A Simple Framework for Contrastive Learning of Visual Representations](https://arxiv.org/abs/2002.05709)\n* [https://github.com/sthalles/SimCLR](https://github.com/sthalles/SimCLR)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchagmgang%2Fsimclr_pytorch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchagmgang%2Fsimclr_pytorch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchagmgang%2Fsimclr_pytorch/lists"}