Code Monkey home page Code Monkey logo

Comments (8)

jiaxiang-wu avatar jiaxiang-wu commented on July 1, 2024 1

@3dimensions @JSnobody
We choose TensorFlow since it is one of the most popular DL framework for the moment. It is possible to extend PocketFlow to support other frameworks, e.g. using PyTorch as another back-end for model compression methods, but this will require lots of works. We consider this as a future feature, but currently we do not have a clear time table for this.
On the other hand, these model compression methods are not limited to TensorFlow. You surely can implement them using PyTorch or other DL frameworks.

from pocketflow.

jiaxiang-wu avatar jiaxiang-wu commented on July 1, 2024

Sorry, I do not fully understand your question.

  1. What do you mean by "optimization"?
  2. Also, ncnn is a mobile-based inference library, while ours is a training framework for producing compressed models.

from pocketflow.

JSnobody avatar JSnobody commented on July 1, 2024

Such as channel pruning,weight sparsification,weight quantization,network distillation,multi-GPU training, hyper-parameter optimization.

from pocketflow.

jiaxiang-wu avatar jiaxiang-wu commented on July 1, 2024

TensorFlow is a framework for both training and inference, while ncnn is only for inference on mobile devices. That's why we choose TensorFlow instead of ncnn to implement these methods, since they are all training algorithms for model compression.

from pocketflow.

3dimensions avatar 3dimensions commented on July 1, 2024

Does PocketFlow's compression methods apply to other training frameworks like PyTorch or Keras? Why choose Tensorflow?

from pocketflow.

JSnobody avatar JSnobody commented on July 1, 2024

@3dimensions I also want to ask the same question."Does the optimization apply to other DL framework?", this optimization means "PocketFlow's compression methods".

from pocketflow.

JSnobody avatar JSnobody commented on July 1, 2024

OK,I got it.
Thanks very much!

from pocketflow.

jiaxiang-wu avatar jiaxiang-wu commented on July 1, 2024

Closing this issue. Reopen it if there are any further questions.

from pocketflow.

Related Issues (20)

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.