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

Is there a problem with the given checpoints file? #3

Closed
lubin202209 opened this issue Oct 26, 2022 · 2 comments
Closed

Is there a problem with the given checpoints file? #3

lubin202209 opened this issue Oct 26, 2022 · 2 comments

Comments

@lubin202209
Copy link

When I want to train the Disconet model, I transferred the /checkpoints/det/upperbound/no_rsu/epoch_100.pth to the teacher model, but the error "no valid check point file in logs dir, weights not loaded" is reported when running. Is there a problem with the provided. pth file? If not, how to solve it

@dekunma
Copy link
Collaborator

dekunma commented Nov 16, 2022

Hi @lubin202209, could you try setting the auto_resume_path argument to the directory where you put the .pth file? By giving this argument, the checkpoint file with the latest timestamp will be loaded. You can also try setting the resume argument to the path to your .pth file. This way, a specific checkpoint will be loaded.

@dekunma
Copy link
Collaborator

dekunma commented Oct 29, 2023

Closing this issue due to inactivity.

@dekunma dekunma closed this as completed Oct 29, 2023
This issue was closed.
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