RepeatDataset.__init__() got an unexpected keyword argument 'pipeline'
QianYing-LYG opened this issue · 0 comments
QianYing-LYG commented
Use vfnet to train VOC datagram title error, solution: the new version to comment the original train_dataloader, paste the code I write below into it, and then run the following statement initialization:
python setup.py develop
python setup.py install build
train_dataloader = dict(
batch_size=8,
num_workers=8,
persistent_workers=True,
sampler=dict(type='DefaultSampler', shuffle=True),
batch_sampler=dict(type='AspectRatioBatchSampler'),
dataset=dict(
type=dataset_type,
data_root=data_root,
ann_file='VOC2007/ImageSets/Main/trainval.txt',
data_prefix=dict(sub_data_root='VOC2007/'),
filter_cfg=dict(
filter_empty_gt=True, min_size=32, bbox_min_size=32),
pipeline=train_pipeline,
backend_args=backend_args))