https://github.com/jahongir7174/seesawloss
Seesaw Loss implementation using PyTorch
https://github.com/jahongir7174/seesawloss
class-imbalance classification loss-functions pytorch seesawloss
Last synced: about 2 months ago
JSON representation
Seesaw Loss implementation using PyTorch
- Host: GitHub
- URL: https://github.com/jahongir7174/seesawloss
- Owner: jahongir7174
- License: mit
- Created: 2022-04-20T06:35:03.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-26T00:20:42.000Z (about 3 years ago)
- Last Synced: 2025-01-19T00:50:09.151Z (3 months ago)
- Topics: class-imbalance, classification, loss-functions, pytorch, seesawloss
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[SeesawLoss](https://arxiv.org/abs/2008.10032) implementation using PyTorch
### Install
```bash
pip install seesawloss
```### Usage
```python
from seesawloss import SeesawLoss...
criterion = SeesawLoss(num_classes=1000)
...
```