Skip to content

nindoumon/SoftAdapt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SoftAdapt

The main page for SoftAdapt package, a family of methods for adaptive weighting of multi-tasking neural networks. This work was funded by the U.S. Air Force Research Lab, and recently approved for public release. Different parts of the code may be released at different times, accompanied by comprehensive examples. Meanwhile, the algorithm and the test cases can be found in our paper SoftAdapt: Techniques for Adaptive Loss Weighting of Neural Networks with Multi-Part Loss Functions.

Installing SoftAdapt

Once the repository is cloned, you can use pip to install the package (in the directory):

pip install -e .

Usage

After installing the package, you can use any of the three variants during the training of the network. The call to SoftAdapt must be in the training loop (for each epoch), so that the package can get the most recent training statisitics. For example,

Examples

An example of SoftAdapt is as follows:


Test Cases

Posterior Collapse

Code and math coming soon

About

The main repository for "SoftAdapt: Techniques for Adaptive Loss Weighting of Neural Networks with Multi-Part Loss Functions"

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages