nightrome / cocostuff10k

The official homepage of the (outdated) COCO-Stuff 10K dataset.
https://arxiv.org/abs/1612.03716
277 stars 55 forks source link

How to extract only the png from mat ? #27

Closed cmdrootaccess closed 4 years ago

cmdrootaccess commented 4 years ago

Hello,

i downloaded the dataset but to only realize that the annotations folder has .mat files instead of png files.

how can i covert these .mat files to png ?

i plan to train them on pytorch deeplab v3

nightrome commented 4 years ago

Please see https://github.com/nightrome/cocostuff10k#semantic-segmentation-models. The script you are looking for is: https://github.com/nightrome/cocostuff10k/blob/5fe3850d547ae4b21d73307dd156dfc5c5c61c5c/dataset/code/conversion/convertAnnotationsDeeplab.m