missing keys for mobilenet v3-large?
See original GitHub issueHello!
First of all, thanks for your great implementation of MobileNetV3
However, when I try to use your pretrained model (large model),
it raises error as
RuntimeError: Error(s) in loading state_dict for MobileNetV3:
Missing key(s) in state_dict: "classifier.0.weight", "classifier.0.bias", "classifier.3.weight", "classifier.3.bias".
Unexpected key(s) in state_dict: "classifier.1.weight", "classifier.1.bias", "classifier.5.weight", "classifier.5.bias".
Is there any difference between current implementation and pretrained checkpoint?
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
Missing keys & unexpected keys in state_dict when loading ...
Hi, there: I've encountered this problem and got stucked for a while. I have a labeled image dataset in a considerable large scale...
Read more >Searching for MobileNetV3 - CVF Open Access
This paper starts the exploration of how automated search algorithms and net- work design can work together to harness complementary approaches improving the ......
Read more >Searching for MobileNetV3 - arXiv Vanity
This paper describes the approach we took to develop MobileNetV3 Large and Small models in order to deliver the next generation of high...
Read more >tf.keras.applications.MobileNetV3Large | TensorFlow v2.11.0
In this use case, MobileNetV3 models expect their inputs to be float tensors of pixels with values in the [0-255] range. At the...
Read more >Searching for MobileNetV3 - ResearchGate
MobileNetv3 is another highly efficient network constructed through neural architecture search (NAS) [14] . Since most networks do not consider ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@sngyo provides the right workaround, also refer to #2. However, I will update the network structure and pre-trained models according to the revised MobileNetV3 paper soon. Stay tuned.
I got the same error and tried to assign them manually. Looks like it works, but I don’t know if this is the right approach…