Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
RTMDet_mmcv
Commits
77e338d0
Commit
77e338d0
authored
Nov 20, 2023
by
dengjb
Browse files
Update coco_detection.py
parent
7836bc8b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
configs/_base_/datasets/coco_detection.py
configs/_base_/datasets/coco_detection.py
+3
-3
No files found.
configs/_base_/datasets/coco_detection.py
View file @
77e338d0
# dataset settings
dataset_type
=
'CocoDataset'
data_root
=
'data/
coco/
'
data_root
=
'data/'
# Example to use different file client
# Method 1: simply set the data root and let the file I/O module
...
...
@@ -44,7 +44,7 @@ train_dataloader = dict(
type
=
dataset_type
,
data_root
=
data_root
,
ann_file
=
'annotations/instances_train2017.json'
,
data_prefix
=
dict
(
img
=
'train2017/'
),
data_prefix
=
dict
(
img
=
'
images/
train2017/'
),
filter_cfg
=
dict
(
filter_empty_gt
=
True
,
min_size
=
32
),
pipeline
=
train_pipeline
,
backend_args
=
backend_args
))
...
...
@@ -58,7 +58,7 @@ val_dataloader = dict(
type
=
dataset_type
,
data_root
=
data_root
,
ann_file
=
'annotations/instances_val2017.json'
,
data_prefix
=
dict
(
img
=
'val2017/'
),
data_prefix
=
dict
(
img
=
'
images/
val2017/'
),
test_mode
=
True
,
pipeline
=
test_pipeline
,
backend_args
=
backend_args
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment