GithubHelp home page GithubHelp logo

Comments (4)

D-X-Y avatar D-X-Y commented on August 19, 2024

Hi @Mars-204 , thanks for your interests.

For the tss space, it is the same index. For the sss (size search space), NAS-Bench-201 does not have the size search space. For the examples, you should compare api = create(d, 'tss', fast_mode=False, verbose=True) with NAS-Bench-201.

from nats-bench.

Mars-204 avatar Mars-204 commented on August 19, 2024

Hi @D-X-Y , thanks for the reply. It works for tss as you mentioned.

But when I am trying to obtain the pre-trained weights for this index I am getting a an empty dic in return. Currently I am using the benchmark compressed pickle for tss for the same. Should I be using any other files for the pre-trained weights?

d = pickle_load('/work/ws-tmp/g059997-naslib/g059997-naslib-1667607005/NASLib_mod/naslib/NATS-bench/Copy of NATS-tss-v1_0-3ffb9.pickle.pbz2')
api = create(d, 'tss', fast_mode=False, verbose=True)
index = api.query_index_by_arch(convert_naslib_to_str(best_arch))
config = api.get_net_config(index, 'cifar10')
best_arch = get_cell_based_tiny_net(config)
params = api.get_net_param(index, 'cifar10', None)
best_arch.load_state_dict(next(iter(params.values())))

from nats-bench.

D-X-Y avatar D-X-Y commented on August 19, 2024

The network parameters are contained in full archive files (please follow the instructions at https://github.com/D-X-Y/NATS-Bench#preparation-and-download). Note that those files are pretty large.

from nats-bench.

Mars-204 avatar Mars-204 commented on August 19, 2024

Thanks for the response. It is working.

from nats-bench.

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.