-
Notifications
You must be signed in to change notification settings - Fork 491
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
Model Pruning taking too much time to train #60
Comments
To export a TF-Lite model, you need checkpoint files of the evaluation graph (stored in "./models_dcp_eval"), instead of the training graph (stored in "./models_dcp"). If you want to use these checkpoint files of the training graph, you need to restore variables from them and save again as the evaluation graph (take a look at BTW, if you want to accelerate the training process and quickly evaluate the run-time speed comparison, and do not care much about the accuracy, you can set |
Is there a way to resume the training from where it stopped, and pass that argument this time ? |
Sorry, current |
@jiaxiang-wu Does |
@dhingratul The |
Enhancement required: add support for the |
@jiaxiang-wu It should be added for all the optimizers. Is there a comparison on how TF version works as compared to native Pocketflow ? |
Basically, their performance (in accuracy) is similar, since the underlying training algorithm is the same, despite some implementation details. The native version, |
Describe the bug
A clear and concise description of what the bug is.
Hi, I have been training the pruning script for last 3 days, as of now it has only generated a couple of checkpoints in model_dcp, but to generate the .tflite and .pb file, i need the model_dcp_eval , which i am assuming will be generated after the training has been "done". I want to just skip to the end, and evaluate the inference times of pruned vs non-pruned model. I dont care about accuracy at this point as much. If i freeze the graph from these checkpoints will it give me the pruned model, because in the documentation it says, "conversion script automatically detects which channels can be safely pruned, and then produces a light-weighted compressed model". I just need the pruned .pb file.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: