2
0
mirror of https://github.com/Shawn-Shan/fawkes.git synced 2026-06-12 21:50:46 +05:30

upload to pypi

This commit is contained in:
Shawn-Shan
2020-06-28 23:34:48 -05:00
parent db2248fd6e
commit 95a0d5efc0
19 changed files with 1183 additions and 16 deletions
+4 -4
View File
@@ -3,11 +3,11 @@ import json
import os
DATASETS = {
"scrub": "../data/scrub/",
"vggface1": "/mnt/data/sixiongshan/data/vggface/",
# "vggface2": "/mnt/data/sixiongshan/data/vggface2/",
"scrub": "/home/shansixioing/cloak/fawkes/data/scrub/",
# "vggface1": "/mnt/data/sixiongshan/data/vggface/",
"vggface2": "/mnt/data/sixiongshan/data/vggface2/",
"webface": "/mnt/data/sixiongshan/data/webface/",
# "youtubeface": "/mnt/data/sixiongshan/data/youtubeface/keras_flow_data/",
"youtubeface": "/mnt/data/sixiongshan/data/youtubeface/keras_flow_data/",
}
+1 -1
View File
@@ -13,7 +13,7 @@ random.seed(12243)
np.random.seed(122412)
set_random_seed(12242)
NUM_IMG_PROTECTED = 32 # Number of images used to optimize the target class
NUM_IMG_PROTECTED = 400 # Number of images used to optimize the target class
BATCH_SIZE = 32
MAX_ITER = 1000