Skip to content

Commit

Permalink
(#3) Defense: Add dataset name to tags
Browse files Browse the repository at this point in the history
  • Loading branch information
betarixm committed May 2, 2022
1 parent d798890 commit 4add584
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/defense/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,13 @@ def custom_callbacks(self) -> List[keras.callbacks.Callback]:
y = defense_model.predict(x)

tf.summary.image(
f"(Defense) Original images",
f"(Defense)[{args.dataset}] Original images",
concat_batch_images(x),
step=idx,
)

tf.summary.image(
f"(Defense) {args.defense.upper()} processing result",
f"(Defense)[{args.dataset}] {args.defense.upper()} processing result",
concat_batch_images(y),
step=idx,
)
Expand Down

0 comments on commit 4add584

Please sign in to comment.