def get_features(args):
    feat_type = args.eval.feature_type
    if feat_type== 'base':
        from lfd.mmqe.features import BatchRCFeats as feat
    elif feat_type == 'mul':
        from lfd.mmqe.features import MulFeats as feat
    elif feat_type == 'mul_quad':
        from lfd.mmqe.features import QuadSimpleMulFeats as feat
    elif feat_type == 'mul_quad_ind':
        from lfd.mmqe.features import QuadSimpleMulIndFeats as feat
    elif feat_type == 'mul_quad_mapind':
        from lfd.mmqe.features import QuadSimpleMulMapIndFeats as feat
    elif feat_type == 'mul_quad_bendind':
        from lfd.mmqe.features import QuadSimpleMulBendIndFeats as feat
    elif feat_type == 'mul_s':
        from lfd.mmqe.features import SimpleMulFeats as feat
    elif feat_type == 'mul_grip':
        from lfd.mmqe.features import SimpleMulGripperFeats as feat
    elif feat_type == 'mul_s_map':
        from lfd.mmqe.features import SimpleMulMapIndFeats as feat
    elif feat_type == 'landmark':
        from lfd.mmqe.features import LandmarkFeats as feat
    elif feat_type == 'timestep':
        from lfd.mmqe.features import TimestepActionMulFeats as feat
    else:
        raise ValueError('Incorrect Feature Type')

    feats = feat(args.eval.actionfile)
    try:
        feats.set_landmark_file(args.landmarkfile)
    except __HOLE__:
        pass
    if args.eval.weightfile:
        feats.load_weights(args.eval.weightfile)
    GlobalVars.features = feats
    return feats
dataset/ETHPy150Open rll/lfd/scripts/eval.py/get_features