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

I want to compress my own model such as Gan's or mtcnn ,how can I change the code?can you supply a demo or document about how can we change the file to work on my own model? #59

Closed
sunzhe09 opened this issue Nov 14, 2018 · 5 comments
Assignees
Labels
documentation Documentation needs revision

Comments

@sunzhe09
Copy link

sunzhe09 commented Nov 14, 2018

I'm trying to compress a unet-like model ,but i don't know how to edit it

@sunzhe09 sunzhe09 changed the title i want to compress my own model such as Gan's or mtcnn ,how can I want to compress my own model such as Gan's or mtcnn ,how can I change the code?can you supply a demo or document about how can we change the file to work on my own model? Nov 14, 2018
@jiaxiang-wu
Copy link
Contributor

If your model can be trained in an end-to-end manner, you can try to implement a new ModelHelper class, defining the data input pipepline, forward computation, and loss function, similar to those defined in the "./nets" directory. We are adding a documentation page to demonstrate how to incorporate customized models and data sets into PocketFlow.

@jiaxiang-wu jiaxiang-wu self-assigned this Nov 14, 2018
@jiaxiang-wu jiaxiang-wu added the documentation Documentation needs revision label Nov 15, 2018
@jiaxiang-wu
Copy link
Contributor

Doc required: demonstrate how to incorporate customized models and data sets into PocketFlow.

@ginger0106
Copy link

hi, when the documents will be released?

@ginger0106
Copy link

to compress my own model, we need to implement a new ModelHelper and setup_lrn_rate, does it right? Anything else needed? Thanks

@jiaxiang-wu
Copy link
Contributor

@ginger0106 @sunzhe09
We have added documentation to demonstrate how to incorporate self-defined data sets and models into PocketFlow. See here for details.

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

No branches or pull requests

3 participants