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

error in function vid_eval_motion: What is motion_iou ?? #69

Open
ron5569 opened this issue Mar 23, 2020 · 4 comments
Open

error in function vid_eval_motion: What is motion_iou ?? #69

ron5569 opened this issue Mar 23, 2020 · 4 comments

Comments

@ron5569
Copy link

ron5569 commented Mar 23, 2020

Hey I'm trying to evaluate my model but I get the following error:

eval_vid_detection :: accumulating: motion [0.0 1.0], area [0.0 0.0 100000.0 100000.0]

Traceback (most recent call last):
File "experiments/fgfa_rfcn/fgfa_rfcn_end2end_train_test.py", line 21, in
test.main()
File "experiments/fgfa_rfcn/../../fgfa_rfcn/test.py", line 58, in main
enable_detailed_eval=config.dataset.enable_detailed_eval)
File "experiments/fgfa_rfcn/../../fgfa_rfcn/function/test_rcnn.py", line 90, in test_rcnn
pred_eval_multiprocess(gpu_num, feat_predictors, aggr_predictors, test_datas, imdb, cfg, vis=vis, ignore_cache=ignore_cache, thresh=thresh, logger=logger)
File "experiments/fgfa_rfcn/../../fgfa_rfcn/core/tester.py", line 386, in pred_eval_multiprocess
info_str = imdb.evaluate_detections_multiprocess(res)
File "experiments/fgfa_rfcn/../../fgfa_rfcn/../lib/dataset/imagenet_vid.py", line 243, in evaluate_detections_multiprocess
info = self.do_python_eval_gen()
File "experiments/fgfa_rfcn/../../fgfa_rfcn/../lib/dataset/imagenet_vid.py", line 429, in do_python_eval_gen
motion_ranges, area_ranges, ovthresh=0.5)
File "experiments/fgfa_rfcn/../../fgfa_rfcn/../lib/dataset/imagenet_vid_eval_motion.py", line 240, in vid_eval_motion
if ig_gt_motion[k] & (ov > ovmax_ig):
IndexError: list index out of range

Im trying to undrstand what is the function vid_eval_motion, but it looks so complicated.
Anybody can explain what is the function do, and why I get this error?

@ron5569
Copy link
Author

ron5569 commented Mar 23, 2020

Ok I think it happen since I use my own dataset, with multiple object in a image.
However it stil not clear for me what is motion_iou and what its value represented.
Thanks!

@ron5569 ron5569 changed the title error in function vid_eval_motion error in function vid_eval_motion: What is motion_iou ?? Mar 23, 2020
@bhumit04
Copy link

Hi, I am getting the same error during the testing of my FGFA implementation. How did you get around this error? I have been stuck on this error for some time.

@peijl1998
Copy link

peijl1998 commented Apr 12, 2021

@ron5569 @bhumit04 hi guys, I think motion iou is an indicator which represent object's speed according its paper,

An object’s speed is measured by its averaged intersection-over-union (IoU) scores with its corresponding instances in the nearby frames (±10 frames). The indicator is dubbed as “motion IoU”.

However I encounter the same error as yours. How did you solve this problem? Please give me a favor~

@Sanku-Yogesh
Copy link

what is the size of total dataset VID and DET? can u give me exact link or please refer to this Scalsol/mega.pytorch#73 (comment)

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

4 participants