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

建议 #10

Open
goaheand opened this issue Mar 1, 2019 · 0 comments
Open

建议 #10

goaheand opened this issue Mar 1, 2019 · 0 comments

Comments

@goaheand
Copy link

goaheand commented Mar 1, 2019

在_viewer/_visual_weights 中,不需要重写Net再加载net_params.pkl的state_dict啊,直接
pre_trained_dict = torch.load('../2_model/net_params.pkl')
就已经得到想要的state_dict了。
建议删除冗余的部分

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

1 participant