Size of segmap
chandagrover opened this issue · comments
I am getting small size of segmaps say 189 bytes, 215 bytes, 139 bytes.
Also, getting variable size segmaps of images present in VOC2012..
How can I increase the size of those segmaps.
solved.
Hi!
@chandagrover how did you solve this?
Hi,
Once you obtained patches of size say: 189 bytes, 215 bytes, or 139 bytes, you can increase the resolution of patches with below code:
python extract.py extract_crf_segmentations
--images_list "./data/object-segmentation/${DATASET}/lists/images.txt"
--images_root "./data/object-segmentation/${DATASET}/images"
--segmentations_dir "./data/object-segmentation/${DATASET}/single_region_segmentation/patches/laplacian_dino_vits16"
--output_dir "./data/object-segmentation/${DATASET}/single_region_segmentation/crf/laplacian_dino_vits16"
--downsample_factor 16
--num_classes 2