https://github.com/samet-akcay/ganomaly
Tip revision: 78da4ea9a99f5b02ab60dd651a18def929176d77 authored by Samet Akcay on 06 February 2022, 21:11:17 UTC
Update README.md
Update README.md
Tip revision: 78da4ea
run_cifar.sh
#!/bin/bash
# Run CIFAR10 experiment on ganomaly
declare -a arr=("plane" "car" "bird" "cat" "deer" "dog" "frog" "horse" "ship" "truck" )
for m in $(seq 0 2)
do
echo "Manual Seed: $m"
for i in "${arr[@]}";
do
echo "Running CIFAR. Anomaly Class: $i "
python train.py --dataset cifar10 --isize 32 --niter 15 --abnormal_class $i --manualseed $m
done
done
exit 0