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