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 can I get my own checkpoint for fine-tuning and testing in R2R? #20

Open
dongxinfeng1 opened this issue Jul 8, 2024 · 1 comment

Comments

@dongxinfeng1
Copy link

dongxinfeng1 commented Jul 8, 2024

I run the checkpoint you provide "ckpts/r2r_best" and it works well. In the code your provide, I can train the model and get the ".pt" file for checkpoint which cannot be used for fine-tuning and testing directly. Do you know how can I get my own checkpoint for fine-tuning and testing in R2R? Hope for your reply and thanks a lot.

@MarSaKi
Copy link
Owner

MarSaKi commented Jul 11, 2024

Hi,
You should first extract the image features using the provided scripts.
After that, you should run the pre-training scripts to get the *.pt file.
Then, you can choose one *.pt file to initialize your fine-tuning stage.

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