CaliBench / SMART /LogitsGap /scripts /cifar.bash
zhurong2333's picture
Add files using upload-large-folder tool
b8d72d4 verified
Raw
History Blame Contribute Delete
446 Bytes
#!/bin/bash
export CUDA_VISIBLE_DEVICES=2
datasets=("cifar10" "cifar100")
models=("resnet50" "wide_resnet")
seeds=("2" "3" "4" "5")
for dataset in "${datasets[@]}"; do
for model in "${models[@]}"; do
for seed in "${seeds[@]}"; do
python ../smart_logitgap.py --model "$model" --dataset "$dataset" --random_seed "$seed" --run_methods "uncalibrated,TS,PTS,CTS,SMART" --train_loss "cross_entropy"
done
done
done