-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathexample_run.sh
More file actions
7 lines (6 loc) · 2.23 KB
/
example_run.sh
File metadata and controls
7 lines (6 loc) · 2.23 KB
1
2
3
4
5
6
7
WANDB_NAME = <Your wandb name>
python main.py --seed 1234 --wandb_name $WANDB_NAME --dataset cifar10 --data_dir ./data --metric multi_class --batch_size 1000 --num_batch 10 --embed_model_config none.json --classifier_model_config clip_ViTB32_pretrained.json --strategy_config random_sampling.json --trainer_config cifar10/passive/clip_ViTB32_finetune.json --corrupter_config noiseless.json
python mp_launcher.py --wandb_name $WANDB_NAME --dataset cifar10 --data_dir ./data --metric multi_class --batch_size 1000 --num_batch 10 --embed_model_config none.json --classifier_model_config clip_ViTB32_pretrained.json --trainer_config cifar10/passive/clip_ViTB32_finetune.json --strategies random_sampling.json confidence_sampling.json --corrupter_config noiseless.json --num_runs 4 --device_per_run 1 --gpu_masks 0
python mp_launcher.py --wandb_name $WANDB_NAME --dataset cifar10 --data_dir ./data --metric multi_class --batch_size 1000 --num_batch 10 --embed_model_config clip_ViTB32.json --classifier_model_config linear.json --trainer_config cifar10/passive/clip_ViTB32_finetune.json --strategies random_sampling.json confidence_sampling.json --corrupter_config noiseless.json --num_runs 4 --device_per_run 1 --gpu_masks 0
python point_evaluation.py --seed 1234 --wandb_name $WANDB_NAME --wandb_project "Active Learning, cifar10, Batch Size=1000" --dataset cifar10 --data_dir ./data --embed_model_config clip_ViTB32 --classifier_model_config linear --strategy_config confidence_sampling --trainer_config flexmatch --corrupter_config noiseless.json --eval_metric multi_class --eval_batch_size 1000 --eval_num_batch 10 --eval_classifier_model_config clip_ViTB32_pretrained.json --eval_trainer_config cifar10/flexmatch/clip_ViTB32_finetune.json
python mp_eval_launcher.py --wandb_name $WANDB_NAME --wandb_project "Active Learning, cifar10, Batch Size=1000" --dataset cifar10 --data_dir ./data --embed_model_config clip_ViTB32 --classifier_model_config shallow --strategies bait_sampling --trainer_config flexmatch --corrupter_config noiseless.json --eval_metric multi_class --eval_batch_size 1000 --eval_num_batch 10 --eval_classifier_model_config clip_ViTB32_pretrained.json --eval_trainer_config cifar10/flexmatch/clip_ViTB32_finetune.json --num_runs 4 --run_per_device 1 --gpu_masks 0