-
Notifications
You must be signed in to change notification settings - Fork 228
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
head_rect, tail_rect #13
Comments
This part of the code is created by neural-motifs. It generates two 0/1 masks to represent the locations and shapes of subject&object bounding boxes, then sends them to a conv layer for spatial features of subs/objs. |
why is resolution * 4 - 1? |
I think you misunderstand my previous answer. They are two masks generated to mark the location of sub and obj on the original image. The size of the masks should be the same as the original image, so they times 4 to reverse the downsamplings of previous max-poolings and minus 1 in case the floor operation was involved in the downsamplings. |
Thanks so much! |
❓ Questions and Help
Thanks for your contribution. I really appreciate your efforts for this repo.
May I ask what is the usage for this head_rect and tail rect in roi_relation_feature_extractors.py? I couldn't get it even though I have read through the papers (VCTree, Motitf..).
The text was updated successfully, but these errors were encountered: