GithubHelp home page GithubHelp logo

Comments (4)

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

Sure, just updated!

from nats-bench.

yaolu-zjut avatar yaolu-zjut commented on August 19, 2024

Thanks! Today, I meet the new challenge:
I download the NATS-tss-v1_0-3ffb9-full.taraa from google drive and unzip it. Unfortunately, I got this:
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

Then I ignore this and move on to the next step, I want to load the pretrained model using these codes:
api = create('/public/ly/.torch/NATS-tss-v1_0-3ffb9-full', 'tss', fast_mode=True, verbose=True)
info = api.get_more_info(12, 'cifar10')
info = api.get_cost_info(12, 'cifar10')

validation_accuracy, latency, time_cost, current_total_time_cost = api.simulate_train_eval(12, dataset='cifar10', hp='12')

config = api.get_net_config(12, 'cifar10')
network = get_cell_based_tiny_net(config)

# Load the pre-trained weights: params is a dict, where the key is the seed and value is the weights.
params = api.get_net_param(12, 'cifar10', None)
network.load_state_dict(next(iter(params.values())))

but I get this error:
FileNotFoundError: [Errno 2] No such file or directory: '/public/ly/.torch/NATS-tss-v1_0-3ffb9-full/meta.pickle.pbz2.pbz2'

Would you please help me how can I have a pretrained network if I just use NATS-tss-v1_0-3ffb9-full.taraa(The whole weights are too big to afford)

from nats-bench.

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

If you need to use the pre-trained weights, you need to download all NATS-tss-v1_0-3ffb9-full.tara* and merge them via cat NATS-tss-v1_0-3ffb9-full.tara* > NATS-tss-v1_0-3ffb9-full.tara. (which is mentioned in step-2 in https://github.com/D-X-Y/NATS-Bench#preparation-and-download).
You can not use NATS-tss-v1_0-3ffb9-full.taraa as it is just a piece of the whole zip file..

from nats-bench.

yaolu-zjut avatar yaolu-zjut commented on August 19, 2024

Thank you, I will try it again.

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.