TransWikia.com

Converting VOC2012 annotation .xml to segmentation .png

Data Science Asked on April 7, 2021

Does anyone know a good way to convert VOC2012 annotations files in xml to SegmentationClass (class annotations) files in png?

One Answer

This is Deeplab's bash script for preprocessing the dataset which may help - https://github.com/tensorflow/models/blob/master/research/deeplab/datasets/download_and_convert_voc2012.sh

Some people reported running into some problems reading the annotations, which is covered here https://stackoverflow.com/questions/51676447/python-use-pil-to-load-png-file-gives-strange-results?noredirect=1#comment90316222_51676447

Answered by Oren Dar on April 7, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP