gatech-sysml / compofa Goto Github PK
View Code? Open in Web Editor NEW[ICLR 2021] CompOFA: Compound Once-For-All Networks For Faster Multi-Platform Deployment
License: Apache License 2.0
[ICLR 2021] CompOFA: Compound Once-For-All Networks For Faster Multi-Platform Deployment
License: Apache License 2.0
An error occurs when loading pre-trained weight file (saved in ofa/checkpoints) to Comp-OFAMobileNetV3 net.
python eval_sampled_config.py --net ofa/checkpoints/model_best_compofa_simple.pth.tar --imagenet_path imagenet
The error is:
File "*/CompOFA/eval_sampled_config.py", line 85, in <module>
net.load_weights_from_net(torch.load(args.net, map_location='cpu')['state_dict'])
File "*/CompOFA/ofa/elastic_nn/networks/ofa_mbv3.py", line 215, in load_weights_from_net
raise ValueError(key)
ValueError: blocks.1.mobile_inverted_conv.depth_conv.conv.5to3_matrix
Could you tell me how to solve this problem?
Hi, thanks for your sharing. It's reall a nice work and very helpful for me!
But I still want to know more details of training the accuracy predictor. In OFA, we have a large number of subnets, so we can train a perfect accuracy predictor. But in CompOFA, there are just 243 subnets to search(with fixed kernel). I don't know how to train the accuracy predictor using so few subnets. How many subnets you choose to train accuracy predictor?
I will appreciate it if you can give me the hyperparameters of the accuracy predictor training.
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.