InstanceEngine.dataset
InstanceEngine.dataset(model, split, *, augmented=False, only_images=None)
One split as (image, instance target) pairs.
Parameters
| model |
InstanceModel |
Which model’s settings to read - the input size, the tiling, the separation the target is built for and that target’s own parameters. |
required |
| split |
str |
Which data. |
required |
| augmented |
bool |
Apply the model’s augmentation. Training only. |
False |
| only_images |
bool | None |
Read images alone. Defaults to what the split actually has. |
None |
Returns
|
InstanceDataset |
An InstanceDataset. inspect_objects() on it is what fit calls to refuse a |
|
InstanceDataset |
split whose objects have all vanished in the resize. |