From 86802244ca958cf2c36e6ac8940fac4b6c09d8f4 Mon Sep 17 00:00:00 2001 From: blia <s161488@student.dtu.dk> Date: Thu, 2 Jul 2020 20:05:01 +0200 Subject: [PATCH] Update README.md --- README.md | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 3e9a141..500522b 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ In order to evaluate the model at each acquisition step, run ``` python python3 -c 'import Test as te;te.running_test_for_single_acquisition_step(model_dir)' Args: - model_dir: the directory that saves the model ckpt + model_dir: the directory that saves the model ckpt ``` #### Train the model @@ -43,15 +43,16 @@ Args: ```python python3 -c 'import Train_Active_Full_Im as tafi;tafi.running_loop_active_learning_full_image(stage)' Args: - stage: int, 0:random, 1:VarRatio, 2:Entropy, 3:BALD + stage: int, 0:random, 1:VarRatio, 2:Entropy, 3:BALD ``` - For region based active learning, run - ```python - python3 -c 'import Train_Active_Region_Im as tari;tari.running_loop_active_learning_region(stage)' - Args: - stage: int, 0:random, 1:VarRatio, 2:Entropy, 3:BALD - ``` + + ```python + python3 -c 'import Train_Active_Region_Im as tari;tari.running_loop_active_learning_region(stage)' + Args: + stage: int, 0:random, 1:VarRatio, 2:Entropy, 3:BALD + ``` #### Reproduce figures @@ -64,6 +65,6 @@ wget https: tar -xzvf calibration_score.tar.gz cd .. cd eval_calibration -python3 visualize_calibration_score.py --save False +python3 visualize_calibration_score.py --save True ``` -- GitLab