-
Notifications
You must be signed in to change notification settings - Fork 8k
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
small objects yolov4-csp #8081
Comments
I have the same question, but I'm also wondering why increasing the stride is recommended for detecting small objects. Doesn't that result in downsampling of an activation map? |
@tcdnm I've figured it out, the way to do this for yolo4-csp.cfg is to set: |
@vtyw. How about your question please, "I have the same question, but I'm also wondering why increasing the stride is recommended for detecting small objects. Doesn't that result in downsampling of an activation map?" Where did you bring this from that "I'm also wondering why increasing the stride is recommended for detecting small objects"? Can you please add reference? |
Can you please add more details what do you mean? |
Hi @AlexeyAB,
Do you have any suggestions on how to modify yolov4-csp .cfg to train for small objects? I've been trying to use the modifications suggested for yolov4 but they don't seem to work for yolov4-csp (it fails when setting the stride values to 4).
Here are the modifications I made to the original yolov4-csp.cfg file:
set layers = 23 instead of https://github.com/AlexeyAB/darknet/blob/master/cfg/yolov4-csp.cfg#L938
set stride=4 instead of https://github.com/AlexeyAB/darknet/blob/master/cfg/yolov4-csp.cfg#L935
set stride=4 instead of https://github.com/AlexeyAB/darknet/blob/master/cfg/yolov4-csp.cfg#L1059
Issue:
Run parameters:
The text was updated successfully, but these errors were encountered: