init
Browse files- measure.json +11 -8
measure.json
CHANGED
@@ -1,14 +1,18 @@
|
|
1 |
{
|
2 |
"task": "generate",
|
3 |
"project": "Poison_Rates_DDPM_BadDiff_ODE",
|
4 |
-
"sched": "
|
5 |
"batch": 128,
|
6 |
"epoch": 100,
|
7 |
-
"
|
|
|
|
|
|
|
8 |
"eval_max_batch": 1500,
|
9 |
"learning_rate": 0.0002,
|
10 |
"clean_rate": 1.0,
|
11 |
"poison_rate": 0.5,
|
|
|
12 |
"trigger": "SM_STOP_SIGN",
|
13 |
"target": "TRIGGER",
|
14 |
"dataset_load_mode": "FIXED",
|
@@ -17,11 +21,11 @@
|
|
17 |
"psi": 1.0,
|
18 |
"ve_scale": 1.0,
|
19 |
"vp_scale": 1.0,
|
20 |
-
"gpu": "
|
21 |
-
"ckpt": "exp_GenBadDiffusion_Poison_Rates_DDPM_BadDiff_ODE/res_DDPM-CIFAR10-32_CIFAR10_ep100_ode_c1.0_p0.5_SM_STOP_SIGN-TRIGGER_psi1.0_lr0.0002_vp1.0_ve1.0_new-set",
|
22 |
"overwrite": true,
|
23 |
"postfix": "new-set",
|
24 |
-
"fclip": "
|
25 |
"save_image_epochs": 10,
|
26 |
"save_model_epochs": 5,
|
27 |
"is_save_all_model_epochs": false,
|
@@ -48,10 +52,9 @@
|
|
48 |
"data_ckpt_path": null,
|
49 |
"mode": "measure",
|
50 |
"dataset": "CIFAR10",
|
51 |
-
"
|
52 |
-
"output_dir": "exp_GenBadDiffusion_Poison_Rates_DDPM_BadDiff_ODE/res_DDPM-CIFAR10-32_CIFAR10_ep100_ode_c1.0_p0.5_SM_STOP_SIGN-TRIGGER_psi1.0_lr0.0002_vp1.0_ve1.0_new-set",
|
53 |
"device_ids": [
|
54 |
0
|
55 |
],
|
56 |
-
"clip":
|
57 |
}
|
|
|
1 |
{
|
2 |
"task": "generate",
|
3 |
"project": "Poison_Rates_DDPM_BadDiff_ODE",
|
4 |
+
"sched": "DDPM-SCHED",
|
5 |
"batch": 128,
|
6 |
"epoch": 100,
|
7 |
+
"ddim_eta": 0.0,
|
8 |
+
"infer_steps": 1000,
|
9 |
+
"infer_start": 0,
|
10 |
+
"inpaint_mul": 1.0,
|
11 |
"eval_max_batch": 1500,
|
12 |
"learning_rate": 0.0002,
|
13 |
"clean_rate": 1.0,
|
14 |
"poison_rate": 0.5,
|
15 |
+
"ext_poison_rate": 0.0,
|
16 |
"trigger": "SM_STOP_SIGN",
|
17 |
"target": "TRIGGER",
|
18 |
"dataset_load_mode": "FIXED",
|
|
|
21 |
"psi": 1.0,
|
22 |
"ve_scale": 1.0,
|
23 |
"vp_scale": 1.0,
|
24 |
+
"gpu": "2",
|
25 |
+
"ckpt": "/work/u2941379/workspace/backdoor_diffusion/exp_GenBadDiffusion_Poison_Rates_DDPM_BadDiff_ODE/res_DDPM-CIFAR10-32_CIFAR10_ep100_ode_c1.0_p0.5_SM_STOP_SIGN-TRIGGER_psi1.0_lr0.0002_vp1.0_ve1.0_new-set",
|
26 |
"overwrite": true,
|
27 |
"postfix": "new-set",
|
28 |
+
"fclip": "o",
|
29 |
"save_image_epochs": 10,
|
30 |
"save_model_epochs": 5,
|
31 |
"is_save_all_model_epochs": false,
|
|
|
52 |
"data_ckpt_path": null,
|
53 |
"mode": "measure",
|
54 |
"dataset": "CIFAR10",
|
55 |
+
"output_dir": "/work/u2941379/workspace/backdoor_diffusion/exp_GenBadDiffusion_Poison_Rates_DDPM_BadDiff_ODE/res_DDPM-CIFAR10-32_CIFAR10_ep100_ode_c1.0_p0.5_SM_STOP_SIGN-TRIGGER_psi1.0_lr0.0002_vp1.0_ve1.0_new-set",
|
|
|
56 |
"device_ids": [
|
57 |
0
|
58 |
],
|
59 |
+
"clip": false
|
60 |
}
|