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

Cannot reproduce results. #1

Open
tonysherbondy opened this issue Sep 17, 2021 · 13 comments
Open

Cannot reproduce results. #1

tonysherbondy opened this issue Sep 17, 2021 · 13 comments

Comments

@tonysherbondy
Copy link

Thank you for the nice work! I'm having problems reproducing the results in your paper. I was hoping you can help.

I have done the following steps.

  1. Download ICDAR15 video training and official test video dataset.
  2. Prepare training and test dataset folder using: video2frames & convert_ICDAR15video_to_coco.
  3. Download pretrain_coco.pth from your Baidu drive.
  4. Train on ICDAR15 video using python -m torch.distributed.launch --nproc_per_node=8 --use_env main_track.py --output_dir ./output/icdar_tiv --dataset_file text --coco_path "${MY_DATA_DIR}/icdar_tiv" --batch_size 2 --with_box_refine --num_queries 300 --epochs 80 --lr_drop 40 --resume ./pths/pretrain_coco.pth.
  5. Generate inferences using trained model on official test set: python main_track.py --eval --output_dir ./output/icdar_tiv_submit --resume ./output/icdar_tiv/checkpoint0079.pth --dataset_file text --coco_path "${MY_DATA_DIR}/icdar_tiv_test" --batch_size 1 --with_box_refine --num_queries 300
  6. Zip up the results in output/icdar_tiv_submit/text/xml_dir.
  7. Submit results to official ICDAR2015.

The resulting MOTA is 2.08% and very far from the expected ~45%. Note that the "Mostly Matched" is 842 matching reported results, so it seems that the object detection is working, but tracking is failing. Am I missing something from the code? Thanks for any help.

@tonysherbondy
Copy link
Author

Ping.

@weijiawu
Copy link
Owner

Thank you for your attention to our work.
The following suggestions are for reference.

  1. Since our paper is under review, we don't release complete code, e.g., the lacking of matcher.py, save_track.py, deformable_detrtrack_test.py. We don't know that you how to complement these codes. The complete code will be released after the review of the paper.
  2. Maybe you can debug by visualization. (python3 track_tools/Evaluation_ICDAR15_video/vis_tracking.py)

@tonysherbondy
Copy link
Author

tonysherbondy commented Sep 22, 2021 via email

@tonysherbondy
Copy link
Author

Hello! I see that the complete code has been released, but I still fail to reproduce results on ICDAR TIV challenge of 44% MOTA following steps I listed above. Am I missing something?

@weijiawu
Copy link
Owner

hello, I want to know the detailed performance for the reproduced results.

@tonysherbondy
Copy link
Author

tonysherbondy commented Oct 26, 2021

According to the official ICDAR test here. The results are:

MOTA | MOTP | IDF1 | MM | PM | ML
8.25% | 72.43% | 49.54% | 722 | 578 | 616

By setting track_thresh = 0.5 I get:
20.70% | 72.73% | 51.64% | 602 | 613 | 701

@weijiawu
Copy link
Owner

I have no idea about the performance.

Maybe you can debug by the visualization results? And I would update the weight of 44% MOTA, you can use it for checking.

And I also would check the code recently.

@JasmineRain
Copy link

I used the 44% MOTA weight to generate the results for ICDAR15, and the official test results are:
MOTA | MOTP | IDF1 | MM | PM | ML
43.35% | 73.11% | 57.85% | 701 | 533 | 682

These results are much lower than the leaderboard results of your model:
MOTA | MOTP | IDF1 | MM | PM | ML
54.36% | 73.70% | 57.83% | 992 | 495 | 429

Did you use any other tricks in the competition? (Or, are the results on the leaderboard generated by the 44% MOTA weight?)


哈喽,我用了你上传到网盘的44% MOTA的模型去生成ICDAR15的测试结果,上传之后分数差距较大,如上所示,请问你还用了其他的trick吗,还是说排行榜上的结果并不是这个44% MOTA的权重生成的?

@weijiawu
Copy link
Owner

weijiawu commented Feb 9, 2022

hi, 这两个结果不是同一个算法跑出来的,是两种模型

@weijiawu
Copy link
Owner

weijiawu commented Feb 9, 2022

I used the 44% MOTA weight to generate the results for ICDAR15, and the official test results are: MOTA | MOTP | IDF1 | MM | PM | ML 43.35% | 73.11% | 57.85% | 701 | 533 | 682

These results are much lower than the leaderboard results of your model: MOTA | MOTP | IDF1 | MM | PM | ML 54.36% | 73.70% | 57.83% | 992 | 495 | 429

Did you use any other tricks in the competition? (Or, are the results on the leaderboard generated by the 44% MOTA weight?)

哈喽,我用了你上传到网盘的44% MOTA的模型去生成ICDAR15的测试结果,上传之后分数差距较大,如上所示,请问你还用了其他的trick吗,还是说排行榜上的结果并不是这个44% MOTA的权重生成的?

hi, 这两个结果不是同一个算法跑出来的,是两种模型

@JasmineRain
Copy link

hi,论文里面report的MOVText数据集上效果的权重能分享一下吗

@weijiawu
Copy link
Owner

hi,论文里面report的MOVText数据集上效果的权重能分享一下吗

hi, icdar2015上能复现吗,icdar15上能复现的话,在BOVText直接训一下就行,很简单,权重可能没有了

@season-zhou
Copy link

Hi. I want to reproduce according to your instructions, and the final mota can only reach 0.32. Are there any tips that can help me improve this result?

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