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

About training strategy #36

Closed
Vincent-luo opened this issue Oct 17, 2023 · 1 comment
Closed

About training strategy #36

Vincent-luo opened this issue Oct 17, 2023 · 1 comment

Comments

@Vincent-luo
Copy link

Hi, I'm now training the reltr model on VG dataset and I find the training time is quite long. It takes ~2.5 days to train for 150 epochs on 4*3090 with batchsize 4. Im not sure whether I'm doing something wrong or it does need much time to train from scratch.

And I want to ask if you have tried other training strategies like multiple stage. For example, in the first stage just train the model for object detection, the in the second stage only train the triplet decoder and freeze the encoder and entity decoder(or updating with a low leaning rate). That sounds more practical and will reduce the training time in theory.

@yrcong
Copy link
Owner

yrcong commented Oct 20, 2023

Hi,
We didn't do it since the end-to-end training is our objective. But the multiple-stage training sounds reasonable in practice.

You can even try to load the pretrained DETR.

@yrcong yrcong closed this as completed Nov 10, 2023
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