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.

Unable to NASNetALarge with toy example

See original GitHub issue

I am able to run python test/ -a fbresnet152 but when I try python test/ -a NASNetALarge I got this error:

pretrained-models.pytorch$ python test/ -a NASNetALarge
Traceback (most recent call last):
  File "test/", line 24, in <module>
    model = pretrainedmodels.__dict__[args.arch](num_classes=1000, pretrained='imagenet')
TypeError: __init__() got an unexpected keyword argument 'pretrained'

Issue Analytics

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

github_iconTop GitHub Comments

Cadenecommented, Dec 8, 2017

@mrteera Done 😉

Cadenecommented, Nov 29, 2017

I will remove in a near future MaxPoolPad, InceptionV4, NASNetALarge, etc. from the argument error --arch/-a 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Model converter doesn't work with NASNetLarge and ... - GitHub
I wanted to get out all ImageNet pretrained classifiers bundled with Keras for a web app demo I'm doing, but some of the...
Read more >
tf.keras.applications.nasnet.NASNetLarge | TensorFlow v2.11.0
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed...
Read more >
Using Pre-trained Models with Pytorch and Keras
In this post, we will try to use pre-trained models to do image classification. We will use two popular deep learning frameworks, ...
Read more >
Deep Learning Toolbox™ User's Guide - Ge0MLib
If this License fails to meet the government's needs or is ... *The NASNet-Mobile and NASNet-Large networks do not consist of a linear...
Read more >
Neural Variational Learning for Grounded Language Acquisition
For example, instead of learning a “red-as-color” classifier ... Neural Architecture Search Network (NASNetLarge) [47].
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 Post

No results found

github_iconTop Related Hashnode Post

No results found