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

Questions about parameter settings #25

Open
cbn3 opened this issue Sep 6, 2023 · 4 comments
Open

Questions about parameter settings #25

cbn3 opened this issue Sep 6, 2023 · 4 comments

Comments

@cbn3
Copy link

cbn3 commented Sep 6, 2023

I'm sorry to bother you. I found that bf=0 sharebf=1 in the deformable detr batchformerv2 main.py, while bf=1 sharebf=0 in the command line in the readme file.
If I want to use batchformerv2, which one is correct?
Do insertidx not need to be set in main.py? If it needs to be set, what is the setting?
截屏2023-09-06 15 24 00
截屏2023-09-06 15 23 15

@zhihou7
Copy link
Owner

zhihou7 commented Sep 6, 2023

Hi, Thanks for your interest and sorry for the confusing argument.

--share_bf 0 --bf 1 --insert_idx 0'' indicates we use batchformer (bf 1), we do not share the batchformer along different layers, and we insert the batchformer in the first layer only (insert_idx 0). Since we only insert batchformer module in the first layer, it is meaningless to set share_bf''.

Best,

@cbn3
Copy link
Author

cbn3 commented Sep 6, 2023

Thank you for your prompt reply. I will give it a try!

@cbn3
Copy link
Author

cbn3 commented Sep 6, 2023

Hi, Thanks for your interest and sorry for the confusing argument.

--share_bf 0 --bf 1 --insert_idx 0'' indicates we use batchformer (bf 1), we do not share the batchformer along different layers, and we insert the batchformer in the first layer only (insert_idx 0). Since we only insert batchformer module in the first layer, it is meaningless to set share_bf''.

Best,

So should sharebf be set to 0?

@zhihou7
Copy link
Owner

zhihou7 commented Dec 12, 2023

Sorry for getting you late. Sometimes, I did not receive the email notification for this message. share_bf means you share bf among different layers. If you just insert a single layer, share_bf is meaningless.

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