https://github.com/samet-akcay/ganomaly
Raw File
Tip revision: 869027cc7911b638b8292c67182fb6f2b8f0f3c9 authored by dependabot[bot] on 21 June 2022, 22:33:57 UTC
Bump numpy from 1.16.4 to 1.22.0
Tip revision: 869027c
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