https://github.com/KevinMusgrave/pytorch-metric-learning
computer-vision contrastive-learning deep-learning deep-metric-learning embeddings image-retrieval machine-learning metric-learning pytorch self-supervised-learning
Score: 27.150132653885088
Last synced: about 22 hours ago
JSON representation
Repository metadata:
The easiest way to use deep metric learning in your application. Modular, flexible, and extensible. Written in PyTorch.
- Host: GitHub
- URL: https://github.com/KevinMusgrave/pytorch-metric-learning
- Owner: KevinMusgrave
- License: mit
- Created: 2019-10-23T17:20:35.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2026-10-29T15:51:52.000Z (4 days ago)
- Last Synced: 2026-10-29T21:17:00.598Z (4 days ago)
- Topics: computer-vision, contrastive-learning, deep-learning, deep-metric-learning, embeddings, image-retrieval, machine-learning, metric-learning, pytorch, self-supervised-learning
- Language: Python
- Homepage: https://kevinmusgrave.github.io/pytorch-metric-learning/
- Size: 37.7 MB
- Stars: 6,344
- Watchers: 59
- Forks: 663
- Open Issues: 88
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Owner metadata:
- Name: Kevin Musgrave
- Login: KevinMusgrave
- Email:
- Kind: user
- Description: Research Engineer at Fujitsu Research. Co-creator of @settadev. Creator of PyTorch Metric Learning. ML PhD from Cornell.
- Website: KevinMusgrave.com
- Location:
- Twitter: KevMusgrave
- Company: Fujitsu Research
- Icon url: https://avatars.githubusercontent.com/u/2314891?u=c831d7451df2fadfc52396599c5d95c7fea1812f&v=4
- Repositories: 5
- Last Synced at: 2026-10-31T15:05:09.594Z
- Profile URL: https://github.com/KevinMusgrave
GitHub Events
Total
- Create event: 4
- Fork event: 18
- Issue comment event: 63
- Issues event: 28
- Pull request event: 20
- Pull request review comment event: 5
- Pull request review event: 4
- Push event: 32
- Release event: 3
- Watch event: 263
- Total: 440
Last Year
- Issue comment event: 6
- Issues event: 3
- Pull request event: 1
- Watch event: 25
- Total: 35
Committers metadata
Last synced: 2 days ago
Total Commits: 1,244
Total Committers: 50
Avg Commits per committer: 24.88
Development Distribution Score (DDS): 0.158
Commits in past year: 117
Committers in past year: 8
Avg Commits per committer in past year: 14.625
Development Distribution Score (DDS) in past year: 0.128
| Name | Commits | |
|---|---|---|
| TakeshiMusgrave | t****5@c****u | 1048 |
| ir2718 | i****8@g****m | 26 |
| Chan Woo Kim | c****1@g****m | 17 |
| Marijn Lems | m****s@o****l | 15 |
| Domenico Muscillo | d****3@g****m | 15 |
| Manuel Lopez Antequera | m****p@f****m | 12 |
| domen | s****5@s****t | 12 |
| chingis | c****r@g****m | 9 |
| ZhuoL | 4****o | 8 |
| Zhedong Zheng | Z****g@s****u | 7 |
| marijnl | g****b@l****e | 7 |
| Afloat | 1****6 | 6 |
| Qibin Liang | 4****n | 5 |
| Alex Schuy | a****y@g****m | 3 |
| Elias Ramzi | e****i@g****m | 3 |
| kocean9-freedom | k****9@q****m | 3 |
| elisim7 | e****i@c****m | 3 |
| HSinger04 | h****r@g****t | 2 |
| unknown | 2****3@q****m | 2 |
| AryanRG | a****o@g****m | 2 |
| Flávio Juvenal | f****o@v****r | 2 |
| Борис Цейтлин | e****r@g****m | 2 |
| mkmenta | m****5@g****m | 2 |
| marcpaga | m****s@l****m | 2 |
| Will Connell | w****3@g****m | 2 |
| Vinayak | n****5@g****m | 2 |
| Miller Wilt | m****r@p****m | 2 |
| Luca Marini | m****l@p****e | 2 |
| Jordão Bragantini | j****i@g****m | 2 |
| Thomas Kobber Panum | t****s@p****k | 1 |
| and 20 more... | ||
Issue and Pull Request metadata
Last synced: 1 day ago
Total issues: 523
Total pull requests: 169
Average time to close issues: about 2 months
Average time to close pull requests: 29 days
Total issue authors: 280
Total pull request authors: 56
Average comments per issue: 3.5
Average comments per pull request: 1.3
Merged pull request: 138
Bot issues: 0
Bot pull requests: 0
Past year issues: 4
Past year pull requests: 12
Past year average time to close issues: 14 days
Past year average time to close pull requests: 16 days
Past year issue authors: 4
Past year pull request authors: 7
Past year average comments per issue: 1.75
Past year average comments per pull request: 0.0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- KevinMusgrave (124)
- brianw0924 (11)
- KennyTC (7)
- yuxiaokang-source (5)
- zabzug-pfpt (5)
- levtelyatnikov (5)
- ir2718 (5)
- JohnGiorgi (5)
- gkouros (4)
- jamesrobertwilliams (4)
- celsofranssa (4)
- wconnell (4)
- abaqusstudent (4)
- HaominJiang (4)
- TEnsorTHiru (3)
Top Pull Request Authors
- KevinMusgrave (76)
- cwkeam (9)
- mlopezantequera (7)
- Afloat16 (5)
- ir2718 (5)
- marijnl (5)
- elisim (4)
- interestingzhuo (3)
- wconnell (3)
- marcpaga (2)
- antonsoo (2)
- mkmenta (2)
- domenicoMuscill0 (2)
- chingisooinar (2)
- AlexSchuy (1)
Top Issue Labels
- question (181)
- enhancement (135)
- fixed in dev branch (94)
- bug (63)
- Frequently Asked Questions (48)
- new algorithm request (33)
- documentation (31)
- possible bug? (13)
- help wanted (9)
- pip/conda (6)
- in progress (1)
- unit tests (1)
Top Pull Request Labels
- enhancement (3)
Package metadata
- Total packages: 13
-
Total downloads:
- pypi: 1,920,554 last-month
- Total docker downloads: 1,631
- Total dependent packages: 24 (may contain duplicates)
- Total dependent repositories: 129 (may contain duplicates)
- Total versions: 338
- Total maintainers: 2
nixpkgs-24.05: python311Packages.pytorch-metric-learning
Metric learning library for PyTorch
- Homepage: https://github.com/KevinMusgrave/pytorch-metric-learning
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-24.05/pkgs/development/python-modules/pytorch-metric-learning/default.nix#L107
- Licenses: MIT
- Latest release: 2.5.0 (published 9 months ago)
- Last Synced: 2026-09-05T07:26:27.135Z (about 2 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 0.753%
- Stargazers count: 1.262%
- Forks count: 1.749%
- Maintainers (1)
pypi.org: pytorch-metric-learning
Composable metric learning losses, miners, distances, samplers, and retrieval metrics for PyTorch.
- Homepage: https://github.com/KevinMusgrave/pytorch-metric-learning
- Documentation: https://kevinmusgrave.github.io/pytorch-metric-learning/
- Licenses: MIT
- Latest release: 3.0.1 (published 1 day ago)
- Last Synced: 2026-11-01T07:15:36.930Z (1 day ago)
- Versions: 220
- Dependent Packages: 24
- Dependent Repositories: 128
- Downloads: 1,920,554 Last month
- Docker Downloads: 1,631
-
Rankings:
- Stargazers count: 0.398%
- Downloads: 0.592%
- Dependent packages count: 0.759%
- Average: 1.17%
- Dependent repos count: 1.321%
- Forks count: 1.94%
- Docker downloads count: 2.007%
- Maintainers (1)
proxy.golang.org: github.com/KevinMusgrave/pytorch-metric-learning
- Homepage:
- Documentation: https://pkg.go.dev/github.com/KevinMusgrave/pytorch-metric-learning#section-documentation
- Licenses: mit
- Latest release: v2.9.0+incompatible (published about 1 year ago)
- Last Synced: 2026-10-31T15:03:15.985Z (2 days ago)
- Versions: 54
- Dependent Packages: 0
- Dependent Repositories: 1
-
Rankings:
- Stargazers count: 0.923%
- Forks count: 1.142%
- Average: 3.828%
- Dependent repos count: 4.794%
- Dependent packages count: 8.453%
proxy.golang.org: github.com/kevinmusgrave/pytorch-metric-learning
- Homepage:
- Documentation: https://pkg.go.dev/github.com/kevinmusgrave/pytorch-metric-learning#section-documentation
- Licenses: mit
- Latest release: v2.9.0+incompatible (published about 1 year ago)
- Last Synced: 2026-10-31T15:03:16.858Z (2 days ago)
- Versions: 54
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Stargazers count: 0.92%
- Forks count: 1.132%
- Average: 4.836%
- Dependent packages count: 7.944%
- Dependent repos count: 9.349%
nixpkgs-unstable: python313Packages.pytorch-metric-learning
Metric learning library for PyTorch
- Homepage: https://github.com/KevinMusgrave/pytorch-metric-learning
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/python-modules/pytorch-metric-learning/default.nix#L111
- Licenses: MIT
- Latest release: 2.9.0 (published 9 months ago)
- Last Synced: 2026-11-01T11:10:21.524Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-unstable: python314Packages.pytorch-metric-learning
Metric learning library for PyTorch
- Homepage: https://github.com/KevinMusgrave/pytorch-metric-learning
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/python-modules/pytorch-metric-learning/default.nix#L111
- Licenses: MIT
- Latest release: 2.9.0 (published 9 months ago)
- Last Synced: 2026-11-01T11:44:38.758Z (1 day ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-23.11: python310Packages.pytorch-metric-learning
Metric learning library for PyTorch
- Homepage: https://github.com/KevinMusgrave/pytorch-metric-learning
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/development/python-modules/pytorch-metric-learning/default.nix#L67
- Licenses: MIT
- Latest release: 2.3.0 (published 9 months ago)
- Last Synced: 2026-03-07T07:43:51.721Z (8 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-24.11: python311Packages.pytorch-metric-learning
Metric learning library for PyTorch
- Homepage: https://github.com/KevinMusgrave/pytorch-metric-learning
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-24.11/pkgs/development/python-modules/pytorch-metric-learning/default.nix#L108
- Licenses: MIT
- Latest release: 2.7.0 (published 9 months ago)
- Last Synced: 2026-08-19T11:36:39.134Z (3 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-24.05: python312Packages.pytorch-metric-learning
Metric learning library for PyTorch
- Homepage: https://github.com/KevinMusgrave/pytorch-metric-learning
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-24.05/pkgs/development/python-modules/pytorch-metric-learning/default.nix#L107
- Licenses: MIT
- Latest release: 2.5.0 (published 9 months ago)
- Last Synced: 2026-05-19T13:08:26.851Z (6 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-23.11: python311Packages.pytorch-metric-learning
Metric learning library for PyTorch
- Homepage: https://github.com/KevinMusgrave/pytorch-metric-learning
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/development/python-modules/pytorch-metric-learning/default.nix#L67
- Licenses: MIT
- Latest release: 2.3.0 (published 9 months ago)
- Last Synced: 2026-03-07T11:35:49.509Z (8 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-24.11: python312Packages.pytorch-metric-learning
Metric learning library for PyTorch
- Homepage: https://github.com/KevinMusgrave/pytorch-metric-learning
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-24.11/pkgs/development/python-modules/pytorch-metric-learning/default.nix#L108
- Licenses: MIT
- Latest release: 2.7.0 (published 9 months ago)
- Last Synced: 2026-09-11T08:26:18.356Z (about 2 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-23.05: python310Packages.pytorch-metric-learning
Metric learning library for PyTorch
- Homepage: https://github.com/KevinMusgrave/pytorch-metric-learning
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/development/python-modules/pytorch-metric-learning/default.nix#L67
- Licenses: MIT
- Latest release: 2.1.1 (published 9 months ago)
- Last Synced: 2026-08-07T21:02:14.507Z (3 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
nixpkgs-23.05: python311Packages.pytorch-metric-learning
Metric learning library for PyTorch
- Homepage: https://github.com/KevinMusgrave/pytorch-metric-learning
- Documentation: https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/development/python-modules/pytorch-metric-learning/default.nix#L67
- Licenses: MIT
- Latest release: 2.1.1 (published 9 months ago)
- Last Synced: 2026-08-09T00:02:50.617Z (3 months ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
- Maintainers (1)
Dependencies
- actions/checkout v2 composite
- actions/setup-python v2 composite
- numpy *
- scikit-learn *
- torch *
- tqdm *
- actions/checkout v2 composite
- actions/setup-python v2 composite