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

what's this mean in the file ./test/coco.py? #14

Closed
TonightGo opened this issue Apr 23, 2019 · 3 comments
Closed

what's this mean in the file ./test/coco.py? #14

TonightGo opened this issue Apr 23, 2019 · 3 comments

Comments

@TonightGo
Copy link

TonightGo commented Apr 23, 2019

149 if scale == 1:
150 center_points.append(center)
151 detections.append(dets)

Why execute line 150 only when scale == 1?

@Duankaiwen
Copy link
Owner

Duankaiwen commented Apr 25, 2019

@TonightGo For the multi-scale testing, we only use the detecting results of center keypoints with scale == 1, it's enough.

@TonightGo
Copy link
Author

I set test_scale to [0.6, 1, 1.2, 1.5, 1.8]. The GPU report out of memory error when inference the picture with scale 1. So I update test_scale with [0.6, 08]. Do you mean I can use "if scale == 0.6" or "if scale == 0.8" instead? What will happen if I comment this line?

@Duankaiwen
Copy link
Owner

Yes, you can use "if scale == 0.6" or "if scale == 0.8" , the center keypoint will be detected under the scale == 0.6 or scale == 0.8.

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