shvardhan commited on
Commit
f94870d
1 Parent(s): 8f53050

update config file

Browse files
configs/_base_/faster-rcnn_r50_fpn_1x_coco.py CHANGED
@@ -173,34 +173,34 @@ dataset_type = 'CocoDataset'
173
  data_root = 'data/'
174
  img_norm_cfg = dict(
175
  mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True)
176
- train_pipeline = [
177
- dict(type='LoadImageFromFile'),
178
- dict(type='LoadAnnotations', with_bbox=True),
179
- dict(type='Resize', img_scale=(1333, 800), keep_ratio=True),
180
- dict(type='RandomFlip', flip_ratio=0.5),
181
- dict(type='Normalize', **img_norm_cfg),
182
- dict(type='Pad', size_divisor=32),
183
- dict(type='DefaultFormatBundle'),
184
- dict(type='Collect', keys=['img', 'gt_bboxes', 'gt_labels']),
185
- ]
186
- test_pipeline = [
187
- dict(type='LoadImageFromFile'),
188
- dict(
189
- type='MultiScaleFlipAug',
190
- img_scale=(1333, 800),
191
- flip=False,
192
- transforms=[
193
- dict(type='Resize', keep_ratio=True),
194
- dict(type='RandomFlip'),
195
- dict(type='Normalize', **img_norm_cfg),
196
- dict(type='Pad', size_divisor=32),
197
- dict(type='ImageToTensor', keys=['img']),
198
- dict(type='Collect', keys=['img']),
199
- ])
200
- ]
201
 
202
  metainfo = {
203
- 'classes': ('orgaquant', ),
204
  'palette': [
205
  (220, 20, 60),
206
  ]
 
173
  data_root = 'data/'
174
  img_norm_cfg = dict(
175
  mean=[123.675, 116.28, 103.53], std=[58.395, 57.12, 57.375], to_rgb=True)
176
+ # train_pipeline = [
177
+ # dict(type='LoadImageFromFile'),
178
+ # dict(type='LoadAnnotations', with_bbox=True),
179
+ # dict(type='Resize', img_scale=(1333, 800), keep_ratio=True),
180
+ # dict(type='RandomFlip', flip_ratio=0.5),
181
+ # dict(type='Normalize', **img_norm_cfg),
182
+ # dict(type='Pad', size_divisor=32),
183
+ # dict(type='DefaultFormatBundle'),
184
+ # dict(type='Collect', keys=['img', 'gt_bboxes', 'gt_labels']),
185
+ # ]
186
+ # test_pipeline = [
187
+ # dict(type='LoadImageFromFile'),
188
+ # dict(
189
+ # type='MultiScaleFlipAug',
190
+ # img_scale=(1333, 800),
191
+ # flip=False,
192
+ # transforms=[
193
+ # dict(type='Resize', keep_ratio=True),
194
+ # dict(type='RandomFlip'),
195
+ # dict(type='Normalize', **img_norm_cfg),
196
+ # dict(type='Pad', size_divisor=32),
197
+ # dict(type='ImageToTensor', keys=['img']),
198
+ # dict(type='Collect', keys=['img']),
199
+ # ])
200
+ # ]
201
 
202
  metainfo = {
203
+ 'classes': ('organoid', ),
204
  'palette': [
205
  (220, 20, 60),
206
  ]