-
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
预测时候, 遇到编译protobuf失败, 配置文件需要显式指定参数的lr和momentum #356
Comments
@linrongyi 这里倒是没有任何限制。是因为在系统里混合使用了不同版本的Paddle。 这个错误是因为,你用了混合使用了 卸载方式是 这个事情引入的commit是 2c5a6ac ,原因是之前Paddle其实是在应该使用optional+default value的protobuf结构中,显示的赋值导致default value这个功能并没有使用。原来那么做的问题是会生成一个更大的protobuf结构,导致网络配置的单元测试看起来比较难看,同时也多占用了一些空间。 |
@linrongyi 插一句, 内部一键编译脚本编译出的paddle,应该不会出现这种python包不一致的问题,因为它是完全的安装不依赖系统python环境,每次编译安装将自动彻底清除老的安装目录(如果存在的话)。所以,可以试试一键编译脚本 |
@linrongyi It will be nice if you want to add this situation to Paddle FAQ documentation. If you do not have time to do this, please let us know. We will add them to FAQ. |
…rt-tokenizer-bos-path Update distilbert tokenizer bos path
* add basicvsr model
Co-authored-by: root <root@yq01-sys-hic-v100-box-a225-0610.yq01.baidu.com>
Co-authored-by: root <root@yq01-sys-hic-v100-box-a225-0610.yq01.baidu.com>
用python wrapper执行预测的时候, 编译模型的conf出错.
在执行
swig_paddle.GradientMachine.createFromConfigProto(conf.model_config)
出出错, 提示我的Layer是
如果加上 momentum, learning_rate 就好了, 也就是
The text was updated successfully, but these errors were encountered: