Giter Club home page Giter Club logo

hardcorenas's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

hardcorenas's Issues

Search Under Latency Constraints, How to interpret results?

Very impressive improvement in speed over other SOTA. Thanks for sharing the code.

I ran the following command to search 25 msec latency model for P100 GPU.
CUDA_VISIBLE_DEVICES=0 python -u ./search.py path_to_imagenet --train_percent=80 --bcfw_steps=10000 --initial-checkpoint=./pretrained/w_star_076b2ed3.pth --inference_time_limit=25 --lut_filename=./latency/LUT_GPU.pkl --batch-size 6 --amp 0

I am pointing to pre-trained model at, https://miil-public-eu.oss-eu-central-1.aliyuncs.com/public/HardCoReNAS/w_star_076b2ed3.pth

I got the following results,
Test child model: [8333/8333] Time: 0.821 (0.026) Loss: 3.6528 (0.9987) Acc@1: 50.0000 (76.4600) Acc@5: 50.0000 (93.1140)
Latency_predicted=0.07242456756666653, latency_measured=0.26521933794021607, diff=0.19279477037354953

How do I interpret this result? Did I get 72 msec model with 76.46 Top1 accuracy. I was expecting latency close to 25 msec.

Child model search reproduction based on P100

Hi, thanks very much for your work.
I use following code to reproduce results on P100, but the result is inconsistent with the paper report.
python -u ./search.py

--train_percent=80
--bcfw_steps=10000
--initial-checkpoint=<A path to the one-shot model's weights>
--inference_time_limit 25 #ms

results:
25 ms constraints->searched model test:actual latency 62.48ms (paper report: 27ms)
acc(76.364/93.018) flops(467M) params(6.849M)

I'm very confused. Could you help me?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.