-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eval7 - CARLA Overhead Object Detection Dev Dataset (#1912)
* Eval7 CARLA overhead object detection dev dataset and associated config changes * updated checksum files * restoring imports removed by isort pr 1789 * update url * baseline results for carla overhead od dev set 2.0.0 * update doc link to to configs --------- Co-authored-by: Sterling <sterling.suggs@twosixtech.com>
- Loading branch information
1 parent
14006ec
commit 81675d9
Showing
12 changed files
with
505 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
armory-public-data carla/carla_over_od_dev_cached_1.0.0.tar.gz 59760901 251db1715fdcb7ff68f99b155b49cff2ceb4097e9f4e8b1e835d502579de249a | ||
armory-public-data carla/carla_over_od_dev_cached_2.0.0.tar.gz 62773923 fa991a146afd771f806e050fdcfdf6953667a86acbbc05a3cd9c7d7a51ba92a6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
https://armory-public-data.s3.us-east-2.amazonaws.com/carla/carla_over_od_dev_1.0.0.tar.gz 61751299 ee6fbd0f00cf88aaef3ae097e9d661d52b0d97e5688098d342dad4780f931c8a | ||
https://armory-public-data.s3.us-east-2.amazonaws.com/carla/carla_over_od_dev_2.0.0.tar.gz 64846940 248a04c61c8dc96f8bfd62e4a0977973b77962fdd64685ee7e4327e82c80140f |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 64 additions & 0 deletions
64
...figs/eval7/carla_overhead_object_detection/carla_obj_det_adversarialpatch_undefended.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"_description": "CARLA single modality object detection, contributed by MITRE Corporation", | ||
"adhoc": null, | ||
"attack": { | ||
"knowledge": "white", | ||
"kwargs": { | ||
"batch_size": 1, | ||
"learning_rate": 0.003, | ||
"max_iter": 1000, | ||
"optimizer": "pgd", | ||
"targeted": false, | ||
"verbose": true | ||
}, | ||
"module": "armory.art_experimental.attacks.carla_obj_det_adversarial_patch", | ||
"name": "CARLAAdversarialPatchPyTorch", | ||
"use_label": true | ||
}, | ||
"dataset": { | ||
"batch_size": 1, | ||
"eval_split": "dev", | ||
"framework": "numpy", | ||
"modality": "rgb", | ||
"module": "armory.data.adversarial_datasets", | ||
"name": "carla_over_obj_det_dev" | ||
}, | ||
"defense": null, | ||
"metric": { | ||
"means": true, | ||
"perturbation": "l0", | ||
"record_metric_per_sample": false, | ||
"task": [ | ||
"carla_od_AP_per_class", | ||
"carla_od_disappearance_rate", | ||
"carla_od_hallucinations_per_image", | ||
"carla_od_misclassification_rate", | ||
"carla_od_true_positive_rate", | ||
"object_detection_mAP_tide" | ||
] | ||
}, | ||
"model": { | ||
"fit": false, | ||
"fit_kwargs": {}, | ||
"model_kwargs": { | ||
"num_classes": 3 | ||
}, | ||
"module": "armory.baseline_models.pytorch.carla_single_modality_object_detection_frcnn", | ||
"name": "get_art_model", | ||
"weights_file": "carla_rgb_weights_eval7and8.pt", | ||
"wrapper_kwargs": {} | ||
}, | ||
"scenario": { | ||
"kwargs": {}, | ||
"module": "armory.scenarios.carla_object_detection", | ||
"name": "CarlaObjectDetectionTask" | ||
}, | ||
"sysconfig": { | ||
"docker_image": "twosixarmory/armory", | ||
"external_github_repo": null, | ||
"gpus": "all", | ||
"output_dir": null, | ||
"output_filename": null, | ||
"use_gpu": false | ||
} | ||
} |
75 changes: 75 additions & 0 deletions
75
scenario_configs/eval7/carla_overhead_object_detection/carla_obj_det_dpatch_defended.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
{ | ||
"_description": "CARLA single modality object detection, contributed by MITRE Corporation", | ||
"adhoc": null, | ||
"attack": { | ||
"knowledge": "white", | ||
"kwargs": { | ||
"batch_size": 1, | ||
"learning_rate": 0.002, | ||
"max_iter": 2000, | ||
"verbose": true | ||
}, | ||
"module": "armory.art_experimental.attacks.carla_obj_det_patch", | ||
"name": "CARLADapricotPatch", | ||
"use_label": false | ||
}, | ||
"dataset": { | ||
"batch_size": 1, | ||
"eval_split": "dev", | ||
"framework": "numpy", | ||
"modality": "rgb", | ||
"module": "armory.data.adversarial_datasets", | ||
"name": "carla_over_obj_det_dev" | ||
}, | ||
"defense": { | ||
"kwargs": { | ||
"apply_fit": false, | ||
"apply_predict": true, | ||
"clip_values": [ | ||
0.0, | ||
1.0 | ||
], | ||
"quality": 50 | ||
}, | ||
"module": "art.defences.preprocessor", | ||
"name": "JpegCompression", | ||
"type": "Preprocessor" | ||
}, | ||
"metric": { | ||
"means": true, | ||
"perturbation": "l0", | ||
"record_metric_per_sample": false, | ||
"task": [ | ||
"carla_od_AP_per_class", | ||
"carla_od_disappearance_rate", | ||
"carla_od_hallucinations_per_image", | ||
"carla_od_misclassification_rate", | ||
"carla_od_true_positive_rate", | ||
"object_detection_mAP_tide" | ||
] | ||
}, | ||
"model": { | ||
"fit": false, | ||
"fit_kwargs": {}, | ||
"model_kwargs": { | ||
"num_classes": 3 | ||
}, | ||
"module": "armory.baseline_models.pytorch.carla_single_modality_object_detection_frcnn", | ||
"name": "get_art_model", | ||
"weights_file": "carla_rgb_weights_eval7and8.pt", | ||
"wrapper_kwargs": {} | ||
}, | ||
"scenario": { | ||
"kwargs": {}, | ||
"module": "armory.scenarios.carla_object_detection", | ||
"name": "CarlaObjectDetectionTask" | ||
}, | ||
"sysconfig": { | ||
"docker_image": "twosixarmory/armory", | ||
"external_github_repo": "colour-science/colour@v0.3.16", | ||
"gpus": "all", | ||
"output_dir": null, | ||
"output_filename": null, | ||
"use_gpu": false | ||
} | ||
} |
Oops, something went wrong.