https://github.com/samet-akcay/ganomaly
Raw File
Tip revision: 3b19e809dedadf0ff7b937f085c007cf07d0d59c authored by dependabot[bot] on 08 December 2022, 06:00:53 UTC
Bump certifi from 2019.6.16 to 2022.12.7
Tip revision: 3b19e80
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
back to top