Contents:
set_lib_mode()
Task
Task.mode
The following objects are necessary to switch from detection mode (no mask) to instance segmentation.
Set global mode for library.
mode (Literal['detection', 'instance_segmentation']) – Mode for library.
Literal['detection', 'instance_segmentation']
Task define the mode of the library to use. If ‘detection’ masks will not be take, if ‘instance segmentation’ masks will be handle.
Literal[‘detection’, ‘instance segmentation]