kwcoco.cli.coco_reroot module¶
- class kwcoco.cli.coco_reroot.CocoRerootCLI[source]¶
Bases:
object
- name = 'reroot'¶
- class CocoRerootConfig(*args, **kwargs)[source]¶
Bases:
DataConfig
Reroot image paths onto a new image root.
Modify the root of a coco dataset such to either make paths relative to a new root or make paths absolute.
Todo
[ ] Evaluate that all tests cases work
Valid options: []
- Parameters
*args – positional arguments for this data config
**kwargs – keyword arguments for this data config
- default = {'absolute': <Value(True)>, 'autofix': <Value(False)>, 'check': <Value(True)>, 'compress': <Value('auto')>, 'dst': <Value(None)>, 'inplace': <Value(False)>, 'new_prefix': <Value(None)>, 'old_prefix': <Value(None)>, 'src': <Value(None)>}¶
- CLIConfig¶
alias of
CocoRerootConfig
- kwcoco.cli.coco_reroot._CLI¶
alias of
CocoRerootCLI