Skip to content

Commit

Permalink
(#2) Victim: Add evaluation text
Browse files Browse the repository at this point in the history
  • Loading branch information
betarixm committed Apr 18, 2022
1 parent ce6378a commit a9b9250
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/victim/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@
)

if args.evaluate:
print(classifier.evaluate())
result = classifier.evaluate()
print(f"[*] Evaluation of {args.dataset.upper()} Classifier")
for key in result:
print(f" - {key}: {result[key]}")

else:
classifier.train(e)

0 comments on commit a9b9250

Please sign in to comment.