Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A question about DL framework #10

Closed
JSnobody opened this issue Nov 5, 2018 · 8 comments
Closed

A question about DL framework #10

JSnobody opened this issue Nov 5, 2018 · 8 comments

Comments

@JSnobody
Copy link

JSnobody commented Nov 5, 2018

I find PocketFlow use Tensorflow.
Is there a strong correlation between your optimization and Tensorflow?
Does the optimization apply to other DL framework?
Why not use NCNN?
Look forward to your reply!
Thansk very much!

@jiaxiang-wu
Copy link
Contributor

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.

@JSnobody
Copy link
Author

JSnobody commented Nov 5, 2018

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

@jiaxiang-wu
Copy link
Contributor

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.

@3dimensions
Copy link

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

@JSnobody
Copy link
Author

JSnobody commented Nov 6, 2018

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

@jiaxiang-wu
Copy link
Contributor

jiaxiang-wu commented Nov 6, 2018

@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.

@JSnobody
Copy link
Author

JSnobody commented Nov 6, 2018

OK,I got it.
Thanks very much!

@jiaxiang-wu
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants