keyinactivate_list):# for idbased and skeletonbased actions
model_dir=cfg[key]["model_dir"]
if(key=="MOT"and(keyinactivate_list))or(key=="VEHICLE_PLATE"and(keyinactivate_list))or(key=="VEHICLE_ATTR"and(keyinactivate_list)):# for idbased and skeletonbased actions