Shortcuts

InstanceSegmentationData

class flash.image.instance_segmentation.data.InstanceSegmentationData(train_dataset=None, val_dataset=None, test_dataset=None, predict_dataset=None, input=None, input_transform=None, output_transform=None, data_fetcher=None, val_split=None, batch_size=4, num_workers=0, sampler=None)[source]
classmethod from_coco(train_folder=None, train_ann_file=None, val_folder=None, val_ann_file=None, test_folder=None, test_ann_file=None, predict_folder=None, train_transform=None, val_transform=None, test_transform=None, predict_transform=None, image_size=(128, 128), **data_module_kwargs)[source]

Creates a InstanceSegmentationData object from the given data folders and annotation files in the COCO format.

Parameters
classmethod from_voc(train_folder=None, train_ann_file=None, val_folder=None, val_ann_file=None, test_folder=None, test_ann_file=None, predict_folder=None, train_transform=None, val_transform=None, test_transform=None, predict_transform=None, image_size=(128, 128), **data_module_kwargs)[source]

Creates a InstanceSegmentationData object from the given data folders and annotation files in the VOC format.

Parameters
Read the Docs v: latest
Versions
latest
stable
0.5.2
0.5.1
0.5.0
0.4.0
0.3.2
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.0post1
Downloads
html
On Read the Docs
Project Home
Builds

Free document hosting provided by Read the Docs.