Skip to content

Commit

Permalink
update cli
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiltsov-max committed Jun 23, 2020
1 parent 77c4c56 commit 529872a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion datumaro/datumaro/plugins/coco_format/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,14 +592,15 @@ def build_cmdline_parser(cls, **kwargs):

def __init__(self,
tasks=None, save_images=False, segmentation_mode=None,
crop_covered=False):
crop_covered=False, allow_attributes=True):
super().__init__()

self._options = {
'tasks': tasks,
'save_images': save_images,
'segmentation_mode': segmentation_mode,
'crop_covered': crop_covered,
'allow_attributes': allow_attributes,
}

def __call__(self, extractor, save_dir):
Expand Down

0 comments on commit 529872a

Please sign in to comment.