Skip to content

Commit

Permalink
Update the default model.
Browse files Browse the repository at this point in the history
  • Loading branch information
radekd91 committed Feb 10, 2023
1 parent a60a6b1 commit d1d8ac9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gdl_apps/EMOCA/demos/test_emoca_on_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def main():
# add the input folder arg
parser.add_argument('--input_folder', type=str, default= str(Path(gdl.__file__).parents[1] / "assets/data/EMOCA_test_example_data/images/affectnet_test_examples"))
parser.add_argument('--output_folder', type=str, default="image_output", help="Output folder to save the results to.")
parser.add_argument('--model_name', type=str, default='EMOCA', help='Name of the model to use.')
parser.add_argument('--model_name', type=str, default='EMOCA_v2_lr_mse_20', help='Name of the model to use.')
parser.add_argument('--path_to_models', type=str, default=str(Path(gdl.__file__).parents[1] / "assets/EMOCA/models"))
parser.add_argument('--save_images', type=bool, default=True, help="If true, output images will be saved")
parser.add_argument('--save_codes', type=bool, default=False, help="If true, output FLAME values for shape, expression, jaw pose will be saved")
Expand Down
2 changes: 1 addition & 1 deletion gdl_apps/EMOCA/demos/test_emoca_on_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def parse_args():
parser.add_argument('--input_video', type=str, default=str(Path(gdl.__file__).parents[1] / "/assets/data/EMOCA_test_example_data/videos/82-25-854x480_affwild2.mp4"),
help="Filename of the video for reconstruction.")
parser.add_argument('--output_folder', type=str, default="video_output", help="Output folder to save the results to.")
parser.add_argument('--model_name', type=str, default='EMOCA', help='Name of the model to use. Currently EMOCA or DECA are available.')
parser.add_argument('--model_name', type=str, default='EMOCA_v2_lr_mse_20', help='Name of the model to use. Currently EMOCA or DECA are available.')
parser.add_argument('--path_to_models', type=str, default=str(Path(gdl.__file__).parents[1] / "assets/EMOCA/models"))
parser.add_argument('--mode', type=str, default="detail", choices=["detail", "coarse"], help="Which model to use for the reconstruction.")
parser.add_argument('--save_images', type=str2bool, default=True, help="If true, output images will be saved")
Expand Down

0 comments on commit d1d8ac9

Please sign in to comment.