When I run this training command:
python tools/Train_pasta_HICO_DET.py --data 1 --init_weight 1 --train_module 2 --num_iteration 2000000 --model _pasta_large_pretrain
It turns out that the data loading function is still Augmented_HO_Neg_HICO_DET_for_only_PVP76, and the GT&Neg 10w.pkl has totally different data structure with Trainval_GT_all_part.pkl and Trainval_Neg_all_part.pkl. Is there anything wrong with my code? Looking forward to your replay!
Here is the error:
File "/home/fair/Desktop/wsl/_HOI/Instance_HAKE/tools/../lib/ult/ult_HICO_DET.py", line 433, in Augmented_HO_Neg_HICO_DET_for_only_PVP76 part_bbox.append(GT[i][4]['part_bbox'][None, :, :]) # get part boxes (10,5) TypeError: string indices must be integers
When I run this training command:
python tools/Train_pasta_HICO_DET.py --data 1 --init_weight 1 --train_module 2 --num_iteration 2000000 --model _pasta_large_pretrain
It turns out that the data loading function is stillAugmented_HO_Neg_HICO_DET_for_only_PVP76
, and theGT&Neg 10w.pkl
has totally different data structure withTrainval_GT_all_part.pkl
andTrainval_Neg_all_part.pkl
. Is there anything wrong with my code? Looking forward to your replay!Here is the error:
File "/home/fair/Desktop/wsl/_HOI/Instance_HAKE/tools/../lib/ult/ult_HICO_DET.py", line 433, in Augmented_HO_Neg_HICO_DET_for_only_PVP76 part_bbox.append(GT[i][4]['part_bbox'][None, :, :]) # get part boxes (10,5) TypeError: string indices must be integers