SoftAdapt: Techniques for Adaptive Loss Weighting of Neural Networks with Multi-Part Loss Functions
Project description
SoftAdaptX
This repository contains an updated implementation of the SoftAdapt algorithm( techniques for adaptive loss balancing of multi-tasking neural networks). This work continues on the awesome work of Ali Heydari ( see https://github.com/dr-aheydari/SoftAdapt) and aims to have a more streamlined and versatile implementation of SoftAdapt.
Installation
Using pip
SoftAdaptX is officially released on PyPI. To install SoftAdaptX with pip:
pip install softadaptx
Local installation
SoftAdapt now uses Poetry for dependency management. To install SoftAdapt with Poetry:
- First, make sure you have Poetry installed:
curl -sSL https://install.python-poetry.org | python3 -
- Then, you can install SoftAdapt directly from GitHub:
poetry add git+https://github.com/dr-aheydari/SoftAdapt.git
- Or clone the repository and install locally:
git clone https://github.com/dr-aheydari/SoftAdapt.git
cd SoftAdapt
poetry install
Contributing
Contributions are welcome. Please follow these steps to contribute:
- Fork the repository on GitHub.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them.
- Push your changes to your fork.
- Submit a pull request to the main branch of the original repository.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file softadaptx-0.0.1.tar.gz.
File metadata
- Download URL: softadaptx-0.0.1.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.10.9 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d6a0a9b86ed41f216e4eccf5ced173881f8b9f922beced5e54f420a85f338ece
|
|
| MD5 |
929edfa8d36faed6310607eb78ea0da0
|
|
| BLAKE2b-256 |
b44e1af319b451986aacab1792a0f5228ff4aaafc91fedaff6a4b993ff261047
|
File details
Details for the file softadaptx-0.0.1-py3-none-any.whl.
File metadata
- Download URL: softadaptx-0.0.1-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.10.9 Darwin/24.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3fb6881252cf7854b45d867cb87f45ef6d960e38c084d277e69256b268e39cd
|
|
| MD5 |
95fc296833161a0b8d327f0473c81804
|
|
| BLAKE2b-256 |
b380a1fa06cb29c6ad78b57969c5dbe1afb76ecfa72ed6f906b21fda0d473b20
|