BigRedT / no_frills_hoi_det

A strong HOI Detection model without Frills!

Home Page:http://tanmaygupta.info/no_frills

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing entries in hoi_candidates_train.hdf5

MathiasHaudgaard opened this issue · comments

When I'm trying to extract features with f[global_id]['boxes_scores_rpn_ids_hoi_idx'] in many of the cases I'm getting the error:
KeyError: "Unable to open object (object 'HICO_train2015_00000022' doesn't exist)"
I ran a for loop on the training data and counted 7623 missing entries.
Can you explain why there are so many missing entries? :shipit:

Cheers 👍

I split the original train set into train and val using an 80:20 split. Here's the composition after the split:

{
    "test": 9658,
    "train": 30495,
    "train_val": 38118,
    "val": 7623
}

So your missing 7623 entries would be in the val set!

The script used to split the ids can be found here: https://github.com/BigRedT/no_frills_hoi_det/blob/release_v1/data/hico/split_ids.py

It is run as part of the process.sh script that you execute in the following step:
https://github.com/BigRedT/no_frills_hoi_det#process-hico-det-files

ah ofc, thanks! 👍