question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

change the candidate's input resolution

See original GitHub issue

Hi, I would like to use you NATS-Bench for other datasets except cifar and Imagenet, and with higher resolutions like (256*256). Is it possible to sample a network like what you did for cifar below and then change the cells resolutions?

import xautodl, nats_bench

from nats_bench import create
from xautodl.models import get_cell_based_tiny_net

api = create(None, 'tss', fast_mode=True, verbose=True)

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

#then a code to change the input resolution to the target size of 256*256

Thanks for your response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
D-X-Ycommented, Aug 7, 2021

Yes, you are right.

BTW, if you want to resize the CIFAR-10 size, you need to add a “resize transform” at here and also revised the shape at here, which is used to compute the FLOPs.

0reactions
D-X-Ycommented, Oct 12, 2021

To increase the number of downsample layers, you need to change the definition of TinyNetwork. Please see here: https://github.com/D-X-Y/AutoDL-Projects/blob/58733c18becf18cd5c66392eb0ca6a80e2d14d23/xautodl/models/cell_infers/tiny_network.py#L21, a True means a downsample layer.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Chapter 7: Voting Systems - Coconino Community College
Majority Rule: This concept means that the candidate (choice) receiving more than 50% of the vote is the winner. But what happens if...
Read more >
Political Subdivisions Forms Index - Texas Secretary of State
Voter Identification; Chapter 1 – Order and Notice of an Election; Chapter 2 – Candidates; Chapter 3 – Ballots; Chapter 4 – Officers...
Read more >
FAQ | Wisconsin Elections Commission
However, many voters designated as military in the statewide voter registration system may choose to vote at the polls or via absentee ballot...
Read more >
Ballot Proposal 2 of 2022 - Promote The Vote Petition
A proposal to amend the state constitution to add provisions regarding elections. This proposed constitutional amendment would: • Recognize ...
Read more >
OnVUE OP 3.0 Network Admin Min Specs - Pearson VUE
The minimum requirements will change periodically based on the needs of our exam sponsors. Minimum Required. Recommended Specifications. Operating. System.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found