Skip to main content

SoftAdapt: Techniques for Adaptive Loss Weighting of Neural Networks with Multi-Part Loss Functions

Project description

Tests

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.

arXiv:10.48550/arXiv.1912.12355

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:

  1. First, make sure you have Poetry installed:
curl -sSL https://install.python-poetry.org | python3 -
  1. Then, you can install SoftAdapt directly from GitHub:
poetry add git+https://github.com/dr-aheydari/SoftAdapt.git
  1. 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:

  1. Fork the repository on GitHub.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them.
  4. Push your changes to your fork.
  5. Submit a pull request to the main branch of the original repository.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

softadaptx-0.0.1.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

softadaptx-0.0.1-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

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

Hashes for softadaptx-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d6a0a9b86ed41f216e4eccf5ced173881f8b9f922beced5e54f420a85f338ece
MD5 929edfa8d36faed6310607eb78ea0da0
BLAKE2b-256 b44e1af319b451986aacab1792a0f5228ff4aaafc91fedaff6a4b993ff261047

See more details on using hashes here.

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

Hashes for softadaptx-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c3fb6881252cf7854b45d867cb87f45ef6d960e38c084d277e69256b268e39cd
MD5 95fc296833161a0b8d327f0473c81804
BLAKE2b-256 b380a1fa06cb29c6ad78b57969c5dbe1afb76ecfa72ed6f906b21fda0d473b20

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page