class documentation

Base class for sample writers that emit tf.train.Example protos.

Parameters
force_rgbwhether to force convert all images to RGB
Method __init__ Undocumented
Method make_tf_example Makes a tf.train.Example for the given data.
Instance Variable force_rgb Undocumented
Method _parse_image_or_path Undocumented
def __init__(self, force_rgb=False): (source)
def make_tf_example(self, image_or_path, label, *args, **kwargs): (source)

Makes a tf.train.Example for the given data.

Parameters
image_or_pathan image or the path to the image on disk
labela fiftyone.core.labels.Label
*argssubclass-specific positional arguments
**kwargssubclass-specific keyword arguments
Returns
a tf.train.Example
def _parse_image_or_path(self, image_or_path, filename=None): (source)

Undocumented