DirtyHarryLYL / HAKE-Action

As a part of the HAKE project, includes the reproduced SOTA models and the corresponding HAKE-enhanced versions (CVPR2020).
Apache License 2.0
100 stars 13 forks source link

what's the meaning of hthresh and othresh in the Generate_detection.py #59

Closed whqwill closed 3 years ago

whqwill commented 4 years ago

what's the meaning of hthresh and othresh in the Generate_detection.py in instance level

whqwill commented 4 years ago

BTW, where is the generation_args.pkl from?

Foruck commented 4 years ago
  1. It means the human and object instances with detection confidence lower hthresh and othresh are ignored in inference and evaluation.
  2. They are obtained via grid search on selected validation set from HAKE. You could take reference from https://github.com/DirtyHarryLYL/HAKE-Action/issues/30#issuecomment-678734492.
whqwill commented 3 years ago
  1. It means the human and object instances with detection confidence lower hthresh and othresh are ignored in inference and evaluation.
  2. They are obtained via grid search on selected validation set from HAKE. You could take reference from #30 (comment).

OK. Thanks. So the hthresh and othresh are also obtained via grid search on selected validation set from HAKE, right?

whqwill commented 3 years ago

BTW, if I want to do inference on my own dataset, how should I set hthresh and othresh and other parameters?

Foruck commented 3 years ago

For Q1, that's right. For Q2, maybe a grid search on a selected validation set from your own dataset could do it.