def make_feat_files(conf_paths,weights=None): if(weights==None): for conf_path_i in conf_paths: cats.easy_make_seq(conf_path_i, new_feat=True) else: for conf_path_i,weight_i in zip(conf_paths,weights): cats.easy_make_seq(conf_path_i, new_feat=True,weight=weight_i)
def make_combined_seq(feat_path,img_path): conf_path={'feat_path':feat_path,'img_path':img_path} cats.easy_make_seq(conf_path, new_feat=False)