-
Notifications
You must be signed in to change notification settings - Fork 48
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
The problem of using yolov's algorithm ideas in yolov5/v7 #93
Comments
Thanks for your attention to our work! To use YOLOV in detector with multiple anchors, you should rewrite the feature selection function( YOLOV/yolox/models/yolovp_msa.py Line 307 in 2ea4eb9
|
Hi @YuHengsss , thanks for your answer, I solved this by mapping [0, 8040 * 3-1] to [0, 8040-1], Cause 3 repersent anchor number, which means one point had been repeated three times. However, I encountered another problem, which is about ref_loss. I didn't see this part in paper. Can you explain this part in detail for me? |
This is a classification refinement loss for the video object detection, and you can also find the IoU score refinement loss if you use YOLOV++. They are intended to optimize the classification and confidence of the object after the temporal refinement block. You can find the assignment strategy used in YOLOV for classification part as follows: YOLOV++ updated the label assignment strategy to get better performance. It's a little bit complex and you can find them in YOLOV/yolox/models/v_plus_head.py Line 1052 in 2ea4eb9
and YOLOV/yolox/models/v_plus_head.py Line 447 in 2ea4eb9
|
Hello, thanks for your great job!
YOLOX is based on an anchor-free algorithm, and I would like to use YOLOX's ideas in the anchor-based algorithm. Now I have a question that I would like to ask:
Currently,
self. n_anchors=1
. For an image with an input size of 1x3x640x640, the shape offeature_cls
should be 1x8040x192, while the range of values inpred_idx
is [0, 8039] This is okay.However, when
self. n_anchors=3
, the shape offeatures_cls
is still 1x8040x192, but the value ofpred_idx
is [0, 8040 * 3-1], then an error will be reported in the functionself. find_feature_store
.So I would like to ask how to resolve this conflict. It seems impractical to simply repeat
features_cls
three times.YOLOV/yolox/models/yolovp_msa.py
Lines 290 to 311 in 2ea4eb9
The text was updated successfully, but these errors were encountered: