HumamAlwassel / DETAD

Diagnosing Error in Temporal Action Detectors (ECCV 2018)
http://humamalwassel.com/publication/detad/
MIT License
67 stars 21 forks source link

TypeError: '<' not supported between instances of 'NoneType' and 'NoneType' #11

Open shiyi-z opened 4 months ago

shiyi-z commented 4 months ago

it occurs some errors when i use the thumos samples you have provided.

'python false_negative_analysis.py --ground_truth_filename ../data/thumos14_test_extra_characteristics.json --subset testing --prediction_filename ../data/CMS-RC3D_predictions_on_thumos14_testing_subset.json --output_folder ../output/thumos14'

image

can you help me to sovle this problem? thank you very much!

thanhhff commented 3 months ago

Hi @shiyi-z, I also got this problem when trying to analyze the THUMOS14 dataset. This problem comes from when loading characteristic_name, the characteristics of THUMOS14 only have "Converage", "Length", and "# Instances". So, to fix this problem, you need to ignore null characteristics in the ground truth file.

When running the bash, you only need to add --is_thumos14 for the THUMOS14 dataset.