Sheng-Yen Chou
commited on
Commit
•
58b956a
1
Parent(s):
6e434df
init
Browse files- config.json +47 -0
config.json
ADDED
@@ -0,0 +1,47 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"project": "Poison_Rates",
|
3 |
+
"batch": 128,
|
4 |
+
"epoch": 50,
|
5 |
+
"learning_rate": 0.0002,
|
6 |
+
"clean_rate": 1.0,
|
7 |
+
"poison_rate": 0.1,
|
8 |
+
"trigger": "SM_BOX_MED",
|
9 |
+
"target": "TRIGGER",
|
10 |
+
"dataset_load_mode": "FIXED",
|
11 |
+
"gpu": "2",
|
12 |
+
"ckpt": "DDPM-CIFAR10-32",
|
13 |
+
"overwrite": true,
|
14 |
+
"postfix": "new-set",
|
15 |
+
"fclip": "w",
|
16 |
+
"save_image_epochs": 20,
|
17 |
+
"save_model_epochs": 5,
|
18 |
+
"is_save_all_model_epochs": false,
|
19 |
+
"sample_ep": null,
|
20 |
+
"result": ".",
|
21 |
+
"eval_sample_n": 16,
|
22 |
+
"measure_sample_n": 2048,
|
23 |
+
"batch_32": 128,
|
24 |
+
"batch_256": 64,
|
25 |
+
"gradient_accumulation_steps": 1,
|
26 |
+
"learning_rate_32_scratch": 0.0002,
|
27 |
+
"learning_rate_256_scratch": 2e-05,
|
28 |
+
"lr_warmup_steps": 500,
|
29 |
+
"mixed_precision": "fp16",
|
30 |
+
"push_to_hub": false,
|
31 |
+
"hub_private_repo": false,
|
32 |
+
"overwrite_output_dir": true,
|
33 |
+
"seed": 0,
|
34 |
+
"dataset_path": "datasets",
|
35 |
+
"ckpt_dir": "ckpt",
|
36 |
+
"data_ckpt_dir": "data.ckpt",
|
37 |
+
"ep_model_dir": "epochs",
|
38 |
+
"ckpt_path": null,
|
39 |
+
"data_ckpt_path": null,
|
40 |
+
"mode": "train+measure",
|
41 |
+
"dataset": "CIFAR10",
|
42 |
+
"device_ids": [
|
43 |
+
0
|
44 |
+
],
|
45 |
+
"clip": true,
|
46 |
+
"output_dir": "./res_DDPM-CIFAR10-32_CIFAR10_ep50_c1.0_p0.1_SM_BOX_MED-TRIGGER_new-set"
|
47 |
+
}
|