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

How to get total step done value for the current training instance? #15

Open
Marioando opened this issue Dec 1, 2024 · 1 comment
Open

Comments

@Marioando
Copy link

Hello!
How to get total step done value , I know there is self.total_steps_done for trainer but as far as I know it pick up all steps from previous training if you restore a model , what I want is to get the value of current training steps done wihout adding the restored step. I mean I restore model from 10k. Total step done should start from 0 not 10k . Thank you for your help

@eginhard
Copy link
Member

eginhard commented Dec 1, 2024

Haven't looked at the details, but I think subtracting restore_step from total_steps_done should give you what you want.

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

2 participants