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
Two gvt.py in your repository, what the difference between them? #17
Comments
Thanks for your attention. As for segmentation, we recommend using the one under the segmentation directory. We give the training script of segmentation in README.md. However, as for down stream tasks such as detection and segmentation, we recommend using the latter because we need padding or masking to handle changing resolution during the training. |
Thank you for your reply! |
I find there are two gvt.py in your repository. One is in the main content, another one is in the segmentation content. By carefully comparing the two py files, I found that the calculation of group attention in gvt.py in the segmentation directory is different. One adds attn. Mask in gvt.py and the other does not. So I want to ask, attn. Mask
What is the role of the calculation of group attention? Why do you do this? Which gvt.py should I use when I'm doing a segmentation task?
The text was updated successfully, but these errors were encountered: