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

Question about custom training outputs #553

Open
severin-div opened this issue Feb 21, 2025 · 1 comment
Open

Question about custom training outputs #553

severin-div opened this issue Feb 21, 2025 · 1 comment

Comments

@severin-div
Copy link

Hi,

First, thanks for your outstanding work and for sharing it!

I trained a model on my custom dataset. When looking on the outputs of the training, I see different .pth files: Some are relatively small (a few MBs) and some are quite large (more than a GB). What is the difference between those files? I noticed that I cannot do any inferences with the relatively small files in the "eval" folder but only with the larger files.

Thank you!

@lyuwenyu
Copy link
Owner

lyuwenyu commented Mar 3, 2025


some are quite large (more than a GB).

including model.state_dict(), optim.state_dict(), ema.state_dict(), ..., you can load the checkpoint and check the keys.


I noticed that I cannot do any inferences with the relatively small files in the "eval" folder but only with the larger files.

these files are the output of the eval process, you can ignore them.

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