Comments (4)
上述问题已修正,并提供了log和checkpoint,可以再试试。
from single-path-one-shot-nas.
- 运行完supernet.py只是把超网训练好了,此时并不知道最佳的choice是什么,还需使用进化算法搜索才能得到最佳的choice,此处代码可参照官方repo;
- 使用random_seardch.py就是在使用训练好的超网模型校验随机路径。由于代码比较久了,中途有更新可能没有兼顾到。具体报错可以发上来看看,我再进行修正;
- choice_model.py 就是固定一个 choice 进行训练。正常流程是这样的:supernet.py训练好超网-->进化算法搜索最佳choice(我用random_search.py进行简单示例)-->choice_model.py训练最佳choice。简单来说,可以用random_search.py验证大量随机模型,然后选其中精度最高的一个作为最佳choice输给choice_model.py。
感谢指出代码中的错误,如果还有任何问题,欢迎继续提问!
from single-path-one-shot-nas.
你好
运行完 supernet.py 以后,再次运行 random_search.py,将会报加载模型的错误,情况如下:
我基本没有改动任何代码,只是将 --exp_name="test_super",因为 supernet.py 默认生成 test_super_ 前缀的模型文件
from single-path-one-shot-nas.
好的,我会尽快更新代码并修正这个错误
from single-path-one-shot-nas.
Related Issues (16)
- Why do i maintain a 10% accuracy rate when training this model? HOT 4
- How to do channel search? HOT 1
- 请问下,在block selection时,不同的branch之间会共享权重么? HOT 1
- model test HOT 1
- net output dimension mismatch on cifar10 HOT 7
- about extracting final result HOT 2
- 您好,关于精度复现 HOT 3
- Can not find cifar_train.py HOT 2
- Why shuffle_channels function is not used? HOT 2
- 请问最终的最高精度能达到多少? HOT 1
- 采样出一条路径后,需要对其他的路径冻结梯度更新吗? HOT 2
- 根据经验,cifar10和imagenet对应的哪些超参需要调整? HOT 1
- Randomly sample and save models HOT 4
- BN校准 HOT 2
- 关于Mixed-Precision Quantization HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from single-path-one-shot-nas.