ljwa2323 / mtadam Goto Github PK
View Code? Open in Web Editor NEWThis project forked from itzikmalkiel/mtadam
MTAdam: Automatic Balancing of Multiple Training Loss Terms
This project forked from itzikmalkiel/mtadam
MTAdam: Automatic Balancing of Multiple Training Loss Terms
The implementation of MTAdam can be found in the file mtadam.py. An example of using the MTAdam optimizer can be found in main.py. The main.py file uses MTAdam and compares it to Adam with optimal and suboptimal weights. The main.py file executes a sequence of MNIST experiments. As can be seen in the file, the use of MTAdam is as simple as using Adam, and requires the following steps: (a) initiating the MTAdam optimizer (in a similar way to Adam). (b) keeping the multi-term loss objective decomposed as a sequence of single terms, and sending the sequence as an argument to MTAdam.step(). (c) avoid calling the function loss.backward(), since it is done internally in MTAdam.step(). Dependencies: Pytorch version >= 1.0 tqdm torchvision Files: mtadam.py Main.py If you find the code useful in your research, please consider citing the paper: @article{malkiel2020mtadam, title={MTAdam: Automatic Balancing of Multiple Training Loss Terms}, author={Malkiel, Itzik and Wolf, Lior}, journal={arXiv preprint arXiv:2006.14683}, year={2020} }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.