From 53ca59c5dc93d9fa4d575534ebbd5ca0305d1046 Mon Sep 17 00:00:00 2001 From: freeneuro <923237475@qq.com> Date: Wed, 5 Jan 2022 22:51:27 +0800 Subject: [PATCH] Update carla.yaml --- src/data/carla.yaml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/data/carla.yaml b/src/data/carla.yaml index f52434e..9d3c288 100644 --- a/src/data/carla.yaml +++ b/src/data/carla.yaml @@ -1,15 +1,13 @@ -# COCO 2017 dataset http://cocodataset.org - first 128 training images -# Train command: python train.py --data coco128.yaml -# Default dataset location is next to YOLOv5: -# /parent -# /datasets/coco128 -# /yolov5 +# Default dataset location is next to YOLOv3: +# data/phy_attack +# /train_new +# /train_new # Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..] -path: F:/PythonPro/DualAttentionAttack/data/phy_attack # dataset root dir -train: train_new # train_new train_label_new -val: train_new # val images (relative to 'path') 128 images +path: data/phy_attack # dataset root dir +train: train_new # train image (note that: image rather than npz, but you should modify line between 123-129 and 414-417 in the datasets_fca.py) +val: train_new # test: # test images (optional) # Classes @@ -24,3 +22,4 @@ names: [ 'person', 'bicycle', 'car', 'motorcycle', 'airplane', 'bus', 'train', ' 'microwave', 'oven', 'toaster', 'sink', 'refrigerator', 'book', 'clock', 'vase', 'scissors', 'teddy bear', 'hair drier', 'toothbrush' ] # class names +