forked from gianlucatruda/TableDiffusion
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_exp.sh
More file actions
executable file
·32 lines (21 loc) · 847 Bytes
/
Copy pathrun_exp.sh
File metadata and controls
executable file
·32 lines (21 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Running experiments for DP WGAN and DP Diffusion.
# Running epsilon = 2 for both WGAN and Diffusion on Appraise took ~1 hour.
# Haven't checked numbers, but port reconstruction for WGAN looks especially bad lmao.
DSET="appraise"
SYN_DATA_DIR="syn/${DSET}"
echo "Creating directory: ${SYN_DATA_DIR}"
mkdir -p "${SYN_DATA_DIR}"
RAW_DATA="data/nfiot_sample.csv"
PREPROC_DATA="data/nfiot_preproc.parquet"
# PREPROC_DATA="data/appraise_preproc.parquet"
# python prepare_data.py \
# --data_path "${RAW_DATA}" \
# --output_path "${PREPROC_DATA}"
CUDA_VISIBLE_DEVICES=2 python run_diff_gan.py \
--input_dataset "${DSET}" \
--output_dir "${SYN_DATA_DIR}" \
--models "DPDiffusion"
# CUDA_VISIBLE_DEVICES=2 python ctgan2.py \
# --input_dataset "appraise" \
# --output_dir "${SYN_DATA_DIR}" \
# --model "dpctgan"