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

PaddlePaddle 2.x 无法增量训练 #244

Open
sportzhang opened this issue May 31, 2022 · 3 comments
Open

PaddlePaddle 2.x 无法增量训练 #244

sportzhang opened this issue May 31, 2022 · 3 comments

Comments

@sportzhang
Copy link

PaddlePaddle 2.x以后的版本没有办法进行增量训练吗?训练时候会出现下面的报错:
AssertionError: In PaddlePaddle 2.x, we turn on dynamic graph mode by default, and 'data()' is only supported in static graph mode. So if you want to use this api, please call 'paddle.enable_static()' before this api to enter static graph mode.

@ZhangRong-Mz
Copy link

同问

@yzho0907
Copy link

估计目前这个项目没有人维护了,2.x版本是没法增量训练的,1.8.5版本目前功能稳定

@vnoder
Copy link

vnoder commented Nov 9, 2022

允许 paddle.enable_static() 就行

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

4 participants