Giter Site home page Giter Site logo

denru01 / netadapt Goto Github PK

View Code? Open in Web Editor NEW
173.0 173.0 47.0 316 KB

This repo contains the official Pytorch reimplementation of the paper "NetAdapt: Platform-Aware Neural Network Adaptation for Mobile Applications".

License: MIT License

Python 99.12% Shell 0.88%

netadapt's People

Contributors

denru01 avatar yilunliao avatar

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  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  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  avatar  avatar

netadapt's Issues

No progress of algorithm

Hi!

I've tried running the code you've provided on MobileNet, the pretrained model, which was given by you as an example. I believe that calculating LUTs went correctly. Then I've tried applying the algorithm with 0,5 latency, by running:

sh scripts/netadapt_mobilenet-0.5latency.sh

but after some time the algorithm stopped proceeding on:

Launch a worker for block 13 ['/usr/local/bin/python', 'worker.py', 'models/mobilenet/prune-by-latency/worker', 'models/mobilenet/prune-by-latency/master/iter_0_best_model.pth.tar', '13', 'LATENCY', '0.033316052734851845', '1', '500', '0', 'latency_lut/lut_mobilenet.pkl', 'data/', '3', '224', '224', 'mobilenet', '0.001'] Update job list: [{'iteration': 1, 'block': 1, 'gpu': 1}, {'iteration': 1, 'block': 2, 'gpu': 2}, {'iteration': 1, 'block': 3, 'gpu': 3}, {'iteration': 1, 'block': 4, 'gpu': 4}, {'iteration': 1, 'block': 5, 'gpu': 5}, {'iteration': 1, 'block': 6, 'gpu': 6}, {'iteration': 1, 'block': 13, 'gpu': 0}] Update available gpu: []

Despite of 3 days of computing it didn't progress more. Could you advise me if something is wrong there?

Regards,
Piotrek

raise ValueError

raise ValueError('target_resource {} is not achievable in iter {}.'.format(target_resource, current_iter))
ValueError: target_resource 718242470.4 is not achievable in iter 1.

public netadaptv2

Hi,
Thanks for you excellent work.
When will you release netadaptv2?

Tensorflow model

Hi!

Is there a possibility that you provide tensorflow implementation of NetAdapt?
Or, is it possible to run that pytorch implementation on tensorflow saved_model or frozen graph?

Regards,
Piotrek

where is long-term fine-tune

Hi,thank you for your work.I trained the code in my project, and I can not find the long-term fine tune in the master.py.Can you help me?Thank you very much!

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.