baidu / baidu/lac

PaddlePaddle 2.x 无法增量训练

Open
#244 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
4k
Forks
592
PR merge metrics
No merged PRs in 30d

Description

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.`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the incremental-training flow that triggers the reported PaddlePaddle 2.x assertion, then inspect the surrounding training entry point and how static or dynamic graph mode is selected. Done means establishing whether incremental training is supported in this version and documenting or correcting the compatible path, with a reproducible verification.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.