-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
PaddlePaddle存储的二进制模型参数文件的格式是什么样,如何转为明文? #2812
Comments
|
1.恩,就是从文件中提取出明文的参数 |
@如果是读取明文的参数比较简单,下面是示例代码:
|
V1中有一些参数可以处理稀疏并且很大的模型,通过pserver存储和读取参数,通过在pserver指定参数 这个功能目前还没有完全port到v2版本中,因为v2种的trainer实际是一个python进程。后续会跟进port此功能~ |
|
@alanse7en 是的,width 就是网络配置中layer的size。 |
由于模型文件太大,没有办法在本地加载,需要取出embedding层的参数存到pserver中,麻烦问一下,有没有什么接口可以获取某一层的参数,以及其对应的结构是什么样的?
The text was updated successfully, but these errors were encountered: