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

how to load pruned model parameters when only hdf5 saved? #6

Open
HueCheng1021 opened this issue Mar 26, 2020 · 1 comment
Open

how to load pruned model parameters when only hdf5 saved? #6

HueCheng1021 opened this issue Mar 26, 2020 · 1 comment

Comments

@HueCheng1021
Copy link

    if init_hdf5:
        engine.load_hdf5(init_hdf5)

Hi, that is part of your code.
BUT how to load slimmed model parameters according to its hdf5 is not implemented.
please let me know, thank u !

@DingXiaoH
Copy link
Owner

I don't quite understand your question. If you follow the example code, the params of the pruned model will be saved in an hdf5 file, and that will be the input to this function.

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

2 participants