-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
79 additions
and
1 deletion.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
attacks/scripts/big_diff_att_test.sh β attacks/scripts/diff/big_diff_att_test.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
START=10 | ||
END=200 | ||
STEP_SIZE=10 | ||
|
||
for ((STEPS=START; STEPS<=END; STEPS+=STEP_SIZE)); do | ||
accelerate launch -m tree_ring_watermark.run_stable_tree \ | ||
--project_name diff_attacks_metr \ | ||
--run_name $STEPS --w_channel 3 --w_pattern ring \ | ||
--start 0 --end 200 \ | ||
--reference_model ViT-g-14 --reference_model_pretrain laion2b_s12b_b42k \ | ||
--with_tracking \ | ||
--w_radius 10 \ | ||
--msg_type binary \ | ||
--use_random_msgs \ | ||
--msg_scaler 100 \ | ||
--use_attack \ | ||
--attack_type diff \ | ||
--diff_attack_steps $STEPS \ | ||
--no_stable_sig | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
START=210 | ||
END=350 | ||
STEP_SIZE=10 | ||
|
||
for ((STEPS=START; STEPS<=END; STEPS+=STEP_SIZE)); do | ||
accelerate launch -m tree_ring_watermark.run_stable_tree \ | ||
--project_name diff_attacks_metr \ | ||
--run_name $STEPS --w_channel 3 --w_pattern ring \ | ||
--start 0 --end 200 \ | ||
--reference_model ViT-g-14 --reference_model_pretrain laion2b_s12b_b42k \ | ||
--with_tracking \ | ||
--w_radius 10 \ | ||
--msg_type binary \ | ||
--use_random_msgs \ | ||
--msg_scaler 100 \ | ||
--use_attack \ | ||
--attack_type diff \ | ||
--diff_attack_steps $STEPS \ | ||
--no_stable_sig | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
START=360 | ||
END=500 | ||
STEP_SIZE=10 | ||
|
||
for ((STEPS=START; STEPS<=END; STEPS+=STEP_SIZE)); do | ||
accelerate launch -m tree_ring_watermark.run_stable_tree \ | ||
--project_name diff_attacks_metr \ | ||
--run_name $STEPS --w_channel 3 --w_pattern ring \ | ||
--start 0 --end 200 \ | ||
--reference_model ViT-g-14 --reference_model_pretrain laion2b_s12b_b42k \ | ||
--with_tracking \ | ||
--w_radius 10 \ | ||
--msg_type binary \ | ||
--use_random_msgs \ | ||
--msg_scaler 100 \ | ||
--use_attack \ | ||
--attack_type diff \ | ||
--diff_attack_steps $STEPS \ | ||
--no_stable_sig | ||
done |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
for QUALITY in 1 2 3 4 5 6 7 8; do | ||
accelerate launch -m tree_ring_watermark.run_stable_tree \ | ||
--project_name vae_attacks_metr \ | ||
--run_name $QUALITY --w_channel 3 --w_pattern ring \ | ||
--start 0 --end 200 \ | ||
--reference_model ViT-g-14 --reference_model_pretrain laion2b_s12b_b42k \ | ||
--with_tracking \ | ||
--w_radius 10 \ | ||
--msg_type binary \ | ||
--use_random_msgs \ | ||
--msg_scaler 100 \ | ||
--use_attack \ | ||
--attack_type vae \ | ||
--vae_attack_name bmshj2018-factorized \ | ||
--vae_attack_quality $QUALITY \ | ||
--no_stable_sig | ||
|
||
done |
File renamed without changes.
File renamed without changes.
File renamed without changes.