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:
@@ -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/",
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user