← CLI reference
Command

vraven adversarial

Run finite-budget empirical adversarial stress testing

Minimal form

vraven adversarial <model>

Arguments and options

OptionMeaningDefault
modelPyTorch model fileNone
--model-formatModel storage format. VRAVEN instrumentation supports state_dict and trusted pickle models; TorchScript can be loaded but cannot expose PyTorch hooks.state_dict
--model-factory, --factoryImport path such as my_project.models:ClassifierNone
--factory-kwargsJSON object passed to the model factory{}
--state-dict-key—None
--strip-prefix—None
--device—cpu
--non-strict—False
--trusted-modelAllow Python-pickle model loadingFalse
--inputInput tensor fileNone
--labelsOptional labels for the input batchNone
--scopeAudit one sample, fixed-epsilon batch accuracy, or an epsilon robustness curvesample
--sample-index—0
--targetDecision target; defaults to label or predictionNone
--model-name—None
--output-pathDot path to logits in structured outputNone
--attacksquick, full, or comma-separated attacks such as fgsm,pgd_linf,deepfoolquick
--epsilon-grid—0.01,0.05,0.1
--epsilon—0.1
--protocol—vraven_ensemble_lite
--max-samples—None
--sampling—head
--steps—10
--restarts—1
--step-size—None
--clip-min—None
--clip-max—None
--seed—24032026
--deepfool-iters—40
--square-queries—80
--fab-iters—20
--fab-restarts—2
--target-classes—3
--format—json
--outputOutput path; defaults to the selected formatNone
Exact local helpRun vraven adversarial --help against your installed version before automating a release workflow.