-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsample.yml
54 lines (53 loc) · 1.3 KB
/
sample.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
input:
images:
loader: Directory
options:
directory: ./sample_images # The base path of where the images are stored
annotations:
loader: FourCornersCSV
options:
annotations_file: ./sample_images/annotations.csv # The CSV file with annotations
normalized: true
output:
images:
writer: Directory
options:
directory: ./output_folder
annotations:
writer: YOLOKeras
options:
annotations_file: ./output_folder/annotations.txt
augmentations:
- name: RandomCrop
- name: Sequence
options:
augmentations:
- name: Rotate
- name: GrayScale
- name: Sequence
options:
augmentations:
- name: Shear
options: {}
- name: GaussianNoise
options:
mean: 0.3
- name: Rotate
options:
probs: 0.7
angle: 35
- name: GaussianNoise
options:
probs: 0.9
- name: Shear
options: {}
- name: Translate
- name: VerticalFlip
- name: RandomRotate
- name: SaltAndPepperNoise
- name: RandomHSV
- name: RandomEraser
- name: HorizontalFlip
- name: Scale
save-original: true # Whether to save the original images to the output folder
save-bbox: true # Whether bounding boxes should be drawn on the augmented images