GithubHelp home page GithubHelp logo

cranial-xix / famo Goto Github PK

View Code? Open in Web Editor NEW
63.0 4.0 8.0 2.23 MB

Official PyTorch Implementation for Fast Adaptive Multitask Optimization (FAMO)

License: MIT License

Python 99.10% Shell 0.90%
multitask-learning multitask optimization-methods

famo's People

Contributors

cranial-xix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

famo's Issues

Questions about Results on QM9

Hi there,

I am trying to reproduce the results on QM9. However, the $\Delta_m%$ result I obtained is quite different from the result presented in Table 2 from FAMO paper. I directly ran the scripts provided in this repo, with $\gamma=0.001$ and random seed 42. So, could you kindly inform me if there are any additional modifications required in the scripts to reproduce the result?

Errors when running MTRL

Hi, thanks for your time. I'm running FAMO on the MTRL setting according to the installation you provided. Currently I got the following errors

hydra.errors.HydraException: Error calling 'mtrl.experiment.metaworld.Experiment' : Error calling 'metaworld.MT10' : Error loading module 'metaworld.MT10'

Did you have this kind of error before and could you share the solutions? Do I need to change some configs or .yaml files when I run the code? Thanks very much!

Some quick questions.

Thanks for the great work and the code. While I was reproducing the results, I found several minor issues.

  1. test_data, test_label, test_depth = test_dataset.next()

    For the latest version of torch, I got some errors from "test_dataset.next()", and "next(test_dataset)" seemed to work well.

  2. f"TEST: {avg_cost[epoch, 7]:.4f} {avg_cost[epoch, 8]:.4f} {avg_cost[epoch, 9]:.4f} | "

    If I understand correctly, the indices for this line should be 6, 7, 8, instead of 7, 8, 9?

Question

Hi, Thank you for your excellent work, I am still relatively new to AI and have a question about your famo.py code:
Why should clip_grad_norm_ before loss.backward()?
image

Single-Task Results on CelebA Dataset

Hi, could you provide the single-task results on the 40-task CelebA dataset? I am running experiments of an MTL method and want to compare the $\Delta_m$ with FAMO and other baselines. Unlike Cityscapes, NYUv2, and QM9, the single-task results on CelebA seem not to be contained in the codes in this repo. Although I can run single-task experiments, the obtained results may be slightly different from the results in your paper. Then, the comparison of $\Delta_m$ may be unfair. I would greatly appreciate it if you could provide me with more details about the single-task results on CelebA. Thanks in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.