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

Question about test #8

Open
wjn922 opened this issue Sep 8, 2021 · 3 comments
Open

Question about test #8

wjn922 opened this issue Sep 8, 2021 · 3 comments

Comments

@wjn922
Copy link

wjn922 commented Sep 8, 2021

Hi,

I ran the code of test, and the results are shown as blow.
image
I wonder whether the repo supports evaluation of mAP of iou@[03:0.7], as reported in the paper.
Another question is why the inference needs so much time?
Thanks.

@C-H-Wong
Copy link

C-H-Wong commented Sep 8, 2021

When evaluating different mAP, you only need to pass different iou_thr value to evaluate function here in tools/test.py here. We suggest to save the inference results first (set --out when testing), then run evaluation with different iou_thr, since inference is quite time-consuming.

While comparing to training process which only deal with a clip of 768-frame-length per video, testing would process whole video. Since the model can only process limited length of sequential data, videos are cropped by an overlap ratio of 25% when testing. Besides, processing video data is quite time-consuming already. That's what makes testing process look much more slower than training. After our optimization, the speed of testing process is already lifted a lot.

@wjn922
Copy link
Author

wjn922 commented Sep 8, 2021

Thanks for your clarification!

@wjn922 wjn922 closed this as completed Sep 8, 2021
@wjn922
Copy link
Author

wjn922 commented Sep 9, 2021

Since the inference needs so much time, will you support the DDP testing in the future?

@wjn922 wjn922 reopened this Sep 9, 2021
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