def get_constr_generator(args):
    feats = get_feat_cls(args)(args.actionfile)
    try:
        feats.set_landmark_file(args.landmarkfile)
    except __HOLE__:
        pass
    marg  = BatchCPMargin(feats)
    constr_gen = ConstraintGenerator(feats, marg, args.actionfile)
    return constr_gen
dataset/ETHPy150Open rll/lfd/lfd/mmqe/build.py/get_constr_generator