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

Rename TrainState.epoch as TrainState.iteration to better represent its actual meaning. #1962

Merged
merged 4 commits into from
Mar 14, 2025

Conversation

KangyuWeng
Copy link
Contributor

There are three commits. The first commit renames epoch as iteration. TrainState.epoch can still be used for now, but a warning will be raised each time it is used. The second commit changes all TrainState.epoch to TrainState.iteration in deepxde. The third commit replaces epochs in the document with iterations because epochs in Model.train() is depreciated long ago.

@KangyuWeng KangyuWeng marked this pull request as ready for review March 13, 2025 20:57
@KangyuWeng KangyuWeng force-pushed the trainstate_iteration branch from 5db03b4 to e59bb6a Compare March 14, 2025 18:05
@KangyuWeng KangyuWeng force-pushed the trainstate_iteration branch from e59bb6a to c48754a Compare March 14, 2025 18:10
@lululxvi lululxvi merged commit bb7ddb4 into lululxvi:master Mar 14, 2025
14 checks passed
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

Successfully merging this pull request may close these issues.

2 participants