From ec9e085ea3cc955f3d561647b9e85a150e2e3819 Mon Sep 17 00:00:00 2001 From: Gaurav Mittal Date: Thu, 14 Jul 2022 19:07:08 -0700 Subject: [PATCH] Add --opts in example command for train and test Add --opts in the command for train and test in the GET_STARTED readme to reflect the recent refactoring changes to parser.py --- GETTING_STARTED.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/GETTING_STARTED.md b/GETTING_STARTED.md index c5726b8da..f1d59b806 100644 --- a/GETTING_STARTED.md +++ b/GETTING_STARTED.md @@ -9,7 +9,7 @@ Here we can start with training a simple C2D models by running: ``` python tools/run_net.py \ --cfg configs/Kinetics/C2D_8x8_R50.yaml \ - DATA.PATH_TO_DATA_DIR path_to_your_dataset \ + --opts DATA.PATH_TO_DATA_DIR path_to_your_dataset \ NUM_GPUS 2 \ TRAIN.BATCH_SIZE 16 \ ``` @@ -53,7 +53,7 @@ We have `TRAIN.ENABLE` and `TEST.ENABLE` to control whether training or testing ``` python tools/run_net.py \ --cfg configs/Kinetics/C2D_8x8_R50.yaml \ - DATA.PATH_TO_DATA_DIR path_to_your_dataset \ + --opts DATA.PATH_TO_DATA_DIR path_to_your_dataset \ TEST.CHECKPOINT_FILE_PATH path_to_your_checkpoint \ TRAIN.ENABLE False \ ```