Closed jprokos26 closed 10 months ago
Need to add flag to change where it is looking for results files instead of just ARMORY_OUTPUT_DIR
Addressed by https://github.com/twosixlabs/armory/pull/1986/commits/723c810c601b72f36d4db2bc5894b8f53692dcc0.
Stale:
Add runtime
field. Can be extracted from armory-log.txt
for file in SleeperAgentAttack/*/armory-log.txt; do echo -n $(basename $(find $(dirname $file) -name "*.json")); echo -n " - "; tail -n 1 $file | cut -d" " -f3; done
If defense is null
, should grab other kwargs
https://github.com/twosixlabs/armory/blob/master/scenario_configs/eval6/poisoning/sleeper_agent/baseline_defenses/cifar10_sleeper_agent_p10_perfect_filter.json#L58-L64
Can be utilized to generate evaluation tables automatically utilizing various flags. Organize by performer, attack type, or any other config field. Additionally clean up your output directory automatically.
armory-log.txt
andcolored-log.txt
saved_samples
~/.armory/outputs/.cleaned
Example: After running:
Note, cwd affects href link for config paths See https://github.com/twosixlabs/gard-evaluations/tree/eval7-jp-MITM_sleeper/MITM_sleeper_agent/jprokos26 for output