Commands for running codebase on other datasets.
python train_ddpm.py \
--output_dir=${output_root} \
--model_name=cifar10 \
--training_ids=${data_root} /data_splits/CIFAR10_train.csv \
--validation_ids=${data_root} /data_splits/CIFAR10_val.csv \
--is_grayscale=0 \
--n_epochs=300 \
--beta_schedule=scaled_linear \
--beta_start=0.0015 \
--beta_end=0.0195
python reconstruct.py \
--output_dir=${output_root} \
--model_name=cifar10 \
--validation_ids=${data_root} /data_splits/CIFAR10_val.csv \
--in_ids=${data_root} /data_splits/CIFAR10_test.csv \
--out_ids=${data_root} /data_splits/SVHN_test.csv,${data_root} /data_splits/CelebA_test.csv,${data_root} /data_splits/CIFAR10_vflip_test.csv,${data_root} /data_splits/CIFAR10_hflip_test.csv \
--is_grayscale=0 \
--beta_schedule=scaled_linear \
--beta_start=0.0015 \
--beta_end=0.0195 \
--num_inference_steps=100 \
--inference_skip_factor=16 \
--run_val=1 \
--run_in=1 \
--run_out=1
python ood_detection.py \
--output_dir=${output_root} \
--model_name=cifar10
python train_ddpm.py \
--output_dir=${output_root} \
--model_name=celeba \
--training_ids=${data_root} /data_splits/CelebA_train.csv \
--validation_ids=${data_root} /data_splits/CelebA_val.csv \
--is_grayscale=0 \
--n_epochs=300 \
--beta_schedule=scaled_linear \
--beta_start=0.0015 \
--beta_end=0.0195
python reconstruct.py \
--output_dir=${output_root} \
--model_name=celeba \
--validation_ids=${data_root} /data_splits/CelebA_val.csv \
--in_ids=${data_root} /data_splits/CelebA_test.csv \
--out_ids=${data_root} /data_splits/SVHN_test.csv,${data_root} /data_splits/CIFAR10_test.csv,${data_root} /data_splits/CelebA_vflip_test.csv,${data_root} /data_splits/CelebA_hflip_test.csv \
--is_grayscale=0 \
--beta_schedule=scaled_linear \
--beta_start=0.0015 \
--beta_end=0.0195 \
--num_inference_steps=100 \
--inference_skip_factor=16 \
--run_val=1 \
--run_in=1 \
--run_out=1
python ood_detection.py \
--output_dir=${output_root} \
--model_name=celeba
python train_ddpm.py \
--output_dir=${output_root} \
--model_name=svhn \
--training_ids=${data_root} /data_splits/SVHN_train.csv \
--validation_ids=${data_root} /data_splits/SVHN_val.csv \
--is_grayscale=0 \
--n_epochs=300 \
--beta_schedule=scaled_linear \
--beta_start=0.0015 \
--beta_end=0.0195
python reconstruct.py \
--output_dir=${output_root} \
--model_name=svhn \
--validation_ids=${data_root} /data_splits/SVHN_val.csv \
--in_ids=${data_root} /data_splits/SVHN_test.csv \
--out_ids=${data_root} /data_splits/CelebA_test.csv,${data_root} /data_splits/CIFAR10_test.csv,${data_root} /data_splits/SVHN_vflip_test.csv,${data_root} /data_splits/SVHN_hflip_test.csv \
--is_grayscale=0 \
--beta_schedule=scaled_linear \
--beta_start=0.0015 \
--beta_end=0.0195 \
--num_inference_steps=100 \
--inference_skip_factor=16 \
--run_val=1 \
--run_in=1 \
--run_out=1
python ood_detection.py \
--output_dir=${output_root} \
--model_name=svhn