anatools.annotations.convert_sagemaker module¶
- convert_sagemaker_od(datadir, outdir, mapping=None)¶
Generate annotations for AWS Sagemaker. Annotation jpegs will be placed in <datadir>/<outputdir>. :param datadir: Location of Rendered.ai dataset output. :type datadir: str :param outputdir: Name of directory where the results should be written. :type outputdir: str :param mapfile: The map file used for annotations (YAML only). :type mapfile: str
- convert_sagemaker_ss(datadir, outdir, mapping=None)¶
Generate masks for AWS Sagemaker Semantic Segmentation. Mask pngs will be placed in <datadir>/<outputdir>. :param datadir: Location of Rendered.ai dataset output. :type datadir: str :param outputdir: Name of directory where the results should be written. :type outputdir: str :param mapfile: The map file used for annotations (YAML only). :type mapfile: str