From bcca9af72d6f5b3584ec85a62d4d55ee216c6f9d Mon Sep 17 00:00:00 2001 From: Xiaohang Zhan Date: Tue, 16 Jun 2020 00:57:17 +0800 Subject: [PATCH] Update GETTING_STARTED.md --- docs/GETTING_STARTED.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/GETTING_STARTED.md b/docs/GETTING_STARTED.md index c13a479a..07880b1c 100644 --- a/docs/GETTING_STARTED.md +++ b/docs/GETTING_STARTED.md @@ -84,15 +84,15 @@ Augments: - `WEIGHT_FILE`: the output backbone weights file, e.g., `odc_v1.pth`. 2. Next, run detection. For more details to setup the environments for detection, please refer [here](benchmarks/detection/README.md). -```shell -conda activate detectron2 -cd benchmarks/detection -python convert-pretrain-to-detectron2.py ${WEIGHT_FILE} ${OUTPUT_FILE} # must use .pkl as the output extension. -bash run.sh ${DET_CFG} ${OUTPUT_FILE} -``` -Arguments: -- `DET_CFG`: the detectron2 config file, usually we use `configs/pascal_voc_R_50_C4_24k_moco.yaml`. -- `OUTPUT_FILE`: converted backbone weights file, e.g., `odc_v1.pkl`. + ```shell + conda activate detectron2 + cd benchmarks/detection + python convert-pretrain-to-detectron2.py ${WEIGHT_FILE} ${OUTPUT_FILE} # must use .pkl as the output extension. + bash run.sh ${DET_CFG} ${OUTPUT_FILE} + ``` + Arguments: + - `DET_CFG`: the detectron2 config file, usually we use `configs/pascal_voc_R_50_C4_24k_moco.yaml`. + - `OUTPUT_FILE`: converted backbone weights file, e.g., `odc_v1.pkl`. **Note**: - This benchmark must use 8 GPUs as the default setting from MoCo. @@ -136,7 +136,7 @@ python tools/publish_model.py ${WEIGHT_FILE} You may refer to existing modules under respective folders. -#### Features may facilitate your implementation +#### Features that may facilitate your implementation * Decoupled data source and dataset.