Coder Social home page Coder Social logo

After you revised the project last time, I tried to run FTT-NAS search. It was normal at first, but after 10epochs were found, an error was reported when running the test() method... about aw_nas HOT 3 CLOSED

walkerning avatar walkerning commented on May 27, 2024
After you revised the project last time, I tried to run FTT-NAS search. It was normal at first, but after 10epochs were found, an error was reported when running the test() method...

from aw_nas.

Comments (3)

walkerning avatar walkerning commented on May 27, 2024

Thanks for you information. Since we have added more codes after the FTT-NAS work, It seems like a bug introduced in our later up modification of the shared component classes (the evaluator, and weights manager). I'll check it as soon as possible.

from aw_nas.

walkerning avatar walkerning commented on May 27, 2024

I have fixed this bug in the latest commit a3834db.

The bug comes from: (If you are interested): In the early code, we aggregate the rewards/perfs. of each batch by mean. Later on, when we are implementing Detection NAS, when implementing mAP reward calculation, this behavior is no longer suitable. Thus, while still keep mean as the default, we permit the objective to provide special handling of the aggregate function of batch rewards. Previously, we check if the length of criterions and number of perfs (len(aggregate_fns)) is the same. However, the third criterion function return multiple perfs! After the results are flattened, the length of criterion results should match the number of perfs.

from aw_nas.

BaronNashorMan avatar BaronNashorMan commented on May 27, 2024

Thank you for your careful hints and explanations. I will continue to run the code according to your instructions. Thank you very much and wish you all the best.

from aw_nas.

Related Issues (20)

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.