Update configs/dataset/custom_detection.yml
Browse files
configs/dataset/custom_detection.yml
CHANGED
@@ -1,41 +1,41 @@
|
|
1 |
-
task: detection
|
2 |
-
|
3 |
-
evaluator:
|
4 |
-
type: CocoEvaluator
|
5 |
-
iou_types: ['bbox', ]
|
6 |
-
|
7 |
-
num_classes:
|
8 |
-
remap_mscoco_category: False
|
9 |
-
|
10 |
-
train_dataloader:
|
11 |
-
type: DataLoader
|
12 |
-
dataset:
|
13 |
-
type: CocoDetection
|
14 |
-
img_folder: /
|
15 |
-
ann_file: /
|
16 |
-
return_masks: False
|
17 |
-
transforms:
|
18 |
-
type: Compose
|
19 |
-
ops: ~
|
20 |
-
shuffle: True
|
21 |
-
num_workers:
|
22 |
-
drop_last: True
|
23 |
-
collate_fn:
|
24 |
-
type: BatchImageCollateFunction
|
25 |
-
|
26 |
-
|
27 |
-
val_dataloader:
|
28 |
-
type: DataLoader
|
29 |
-
dataset:
|
30 |
-
type: CocoDetection
|
31 |
-
img_folder: /
|
32 |
-
ann_file: /
|
33 |
-
return_masks: False
|
34 |
-
transforms:
|
35 |
-
type: Compose
|
36 |
-
ops: ~
|
37 |
-
shuffle: False
|
38 |
-
num_workers:
|
39 |
-
drop_last: False
|
40 |
-
collate_fn:
|
41 |
-
type: BatchImageCollateFunction
|
|
|
1 |
+
task: detection
|
2 |
+
|
3 |
+
evaluator:
|
4 |
+
type: CocoEvaluator
|
5 |
+
iou_types: ['bbox', ]
|
6 |
+
|
7 |
+
num_classes: 3 # your dataset classes
|
8 |
+
remap_mscoco_category: False
|
9 |
+
|
10 |
+
train_dataloader:
|
11 |
+
type: DataLoader
|
12 |
+
dataset:
|
13 |
+
type: CocoDetection
|
14 |
+
img_folder: ./laydoc/train_images
|
15 |
+
ann_file: ./laydoc/annotations/train.json
|
16 |
+
return_masks: False
|
17 |
+
transforms:
|
18 |
+
type: Compose
|
19 |
+
ops: ~
|
20 |
+
shuffle: True
|
21 |
+
num_workers: 8
|
22 |
+
drop_last: True
|
23 |
+
collate_fn:
|
24 |
+
type: BatchImageCollateFunction
|
25 |
+
|
26 |
+
|
27 |
+
val_dataloader:
|
28 |
+
type: DataLoader
|
29 |
+
dataset:
|
30 |
+
type: CocoDetection
|
31 |
+
img_folder: ./laydoc/val_images
|
32 |
+
ann_file: ./laydoc/annotations/val.json
|
33 |
+
return_masks: False
|
34 |
+
transforms:
|
35 |
+
type: Compose
|
36 |
+
ops: ~
|
37 |
+
shuffle: False
|
38 |
+
num_workers: 8
|
39 |
+
drop_last: False
|
40 |
+
collate_fn:
|
41 |
+
type: BatchImageCollateFunction
|