Skip to content

Commit

Permalink
Fix typo in active learning (#1854)
Browse files Browse the repository at this point in the history
### Checks
<!--- Put an `x` in all the boxes that apply, and remove the not
applicable items -->
- [x] Avoid including large-size files in the PR.
- [x] Clean up long text outputs from code cells in the notebook.
- [ ] For security purposes, please check the contents and remove any
sensitive info such as user names and private key.
- [ ] Ensure (1) hyperlinks and markdown anchors are working (2) use
relative paths for tutorial repo files (3) put figure and graphs in the
`./figure` folder
- [ ] Notebook runs automatically `./runner.sh -t <path to .ipynb file>`

Signed-off-by: YunLiu <[email protected]>
  • Loading branch information
KumoLiu authored Oct 8, 2024
1 parent 071eb1a commit 2dac69c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion active_learning/liver_tumor_al/runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ python active_learning.py --base_dir ${LOG_DIR}/all_data_iter2k --data_root ${DA
python active_learning.py --base_dir ${LOG_DIR}/random_i5_q5_iter2k --data_root ${DATA_ROOT} --json_path ${JSON_PATH} --seed 3840 --active_iters 6 --dropout_ratio 0.2 --mc_number 10 --initial_pool 5 --queries 5 --strategy random --steps 2000 --val_interval 1 --batch_size 1 --val_batch_size 1 --lr 1e-4

# # Initial Pool 5 Queries 5 Variance Strategy
python active_learning.py --base_dir ${LOG_DIR}/variance_i5_q5_iter2k --data_root ${DATA_ROOT} --json_path ${JSON_PATH} --seed 3840 --active_iters 6 --dropout_ratio 0.2 --mc_number 10 --initial_pool 5 --queries 5 --strategy random --steps 2000 --val_interval 1 --batch_size 1 --val_batch_size 1 --lr 1e-4
python active_learning.py --base_dir ${LOG_DIR}/variance_i5_q5_iter2k --data_root ${DATA_ROOT} --json_path ${JSON_PATH} --seed 3840 --active_iters 6 --dropout_ratio 0.2 --mc_number 10 --initial_pool 5 --queries 5 --strategy variance --steps 2000 --val_interval 1 --batch_size 1 --val_batch_size 1 --lr 1e-4
2 changes: 1 addition & 1 deletion active_learning/tool_tracking_al/runner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ python active_learning.py --base_dir ${LOG_DIR}/all_data_iter5k --data_root ${DA
python active_learning.py --base_dir ${LOG_DIR}/random_i15_q15_iter5k --data_root ${DATA_ROOT} --json_path ${JSON_PATH} --seed 240 --active_iters 5 --dropout_ratio 0.2 --mc_number 10 --initial_pool 20 --queries 20 --strategy random --steps 5000 --val_interval 1 --batch_size 1 --val_batch_size 1 --lr 1e-4

# Initial Pool 20 Queries 20 Variance Strategy
python active_learning.py --base_dir ${LOG_DIR}/variance_i15_q15_iter5k --data_root ${DATA_ROOT} --json_path ${JSON_PATH} --seed 240 --active_iters 5 --dropout_ratio 0.2 --mc_number 10 --initial_pool 20 --queries 20 --strategy random --steps 5000 --val_interval 1 --batch_size 1 --val_batch_size 1 --lr 1e-4
python active_learning.py --base_dir ${LOG_DIR}/variance_i15_q15_iter5k --data_root ${DATA_ROOT} --json_path ${JSON_PATH} --seed 240 --active_iters 5 --dropout_ratio 0.2 --mc_number 10 --initial_pool 20 --queries 20 --strategy variance --steps 5000 --val_interval 1 --batch_size 1 --val_batch_size 1 --lr 1e-4

0 comments on commit 2dac69c

Please sign in to comment.