twosixlabs / armory

ARMORY Adversarial Robustness Evaluation Test Bed
MIT License
174 stars 67 forks source link

apricot_dev #1877

Closed ppark-twosixtech closed 1 year ago

lcadalzo commented 1 year ago

@ppark-twosixtech please update default configs

lcadalzo commented 1 year ago

I'm able to run with the following config:

 "attack": {
        "knowledge": "white",
        "kwargs": {
            "batch_size": 1,
            "split": "frcnn"
        },
        "module": "armory.data.adversarial_datasets",
        "name": "apricot_dev",
        "type": "preloaded",
        "use_label": false
    },
    "dataset": {
        "test": {
            "batch_size": 1,
            "name": "apricot_dev",
            "split": "frcnn"
        }
    },
    "defense": null,
    "eval_id": "2023-04-07T131205.204611",
    "metric": {
        "means": true,
        "perturbation": "linf",
        "record_metric_per_sample": false,
        "task": [
            "apricot_patch_targeted_AP_per_class",
            "object_detection_AP_per_class"
        ]
    },
    "model": {
        "fit": false,
        "fit_kwargs": {},
        "model_kwargs": {},
        "module": "armory.baseline_models.pytorch.mscoco_frcnn",
        "name": "get_art_model",
        "weights_file": null,
        "wrapper_kwargs": {}
    },
    "scenario": {
        "kwargs": {},
        "module": "armory.scenarios.object_detection",
        "name": "ObjectDetectionTask"
    },
    "sysconfig": {
        "docker_image": "twosixarmory/armory",
        "external_github_repo": null,
        "filepath": "scenario_configs/eval1-4/aprioct/apricot_frcnn.json",
        "gpus": "all",
        "interactive": true,
        "output_dir": null,
        "output_filename": null,
        "use_gpu": false
    }