Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'SBD' folder -sbd_instance_process.py #28

Closed
phuongchi911 opened this issue Jul 17, 2020 · 4 comments
Closed

'SBD' folder -sbd_instance_process.py #28

phuongchi911 opened this issue Jul 17, 2020 · 4 comments

Comments

@phuongchi911
Copy link

phuongchi911 commented Jul 17, 2020

Hi Kaixin sorry to trouble u. May i ask what is your 'SBD' folder and how i can get it? Sorry if i missed out something. From my undertanding it seemed u already have the SBD folder in place and process them and save them toSegmentationClassAug folder. Thank you very much.

sbd_instance_process.py

and transform it from .mat to .png. Then transformed
images will be saved in VOC data folder. The name of
the new folder is "SegmentationObjectAug"
@kaixin96
Copy link
Owner

Hi @phuongchi911 , the segmentation masks in SegmentationClassAug folder is downloaded from here. I only process SBD data for generating instance-level masks. You may download the dataset from here and use the folder benchmark_RELEASE/dataset as SBD folder.

Thank you.

@phuongchi911
Copy link
Author

Hi @phuongchi911 , the segmentation masks in SegmentationClassAug folder is downloaded from here. I only process SBD data for generating instance-level masks. You may download the dataset from here and use the folder benchmark_RELEASE/dataset as SBD folder.

Thank you.

Thanks so much for the details. Yes i have downloaded your SegmentationClassAug. May I ask if my data only has the masks photos like in the folder SegmentationClass, is it required to transform them to the SBD data? Thanks so much for the advise.

@kaixin96
Copy link
Owner

Basically the data in the Google Drive is all you need to run the experiments.

sbd_instance_process.py is only needed when you already have SBD data and don't want to download large files from Google Drive. Then you can use it to transform the SBD data format (.mat) into VOC format (PNG image with mode 'P'). The code in this repo uses VOC format masks.

Regarding your questions, it is not needed to transform them to the SBD data.

Thank you.

@kaixin96
Copy link
Owner

I’m closing this issue because it has been inactive for a while. Feel free to reopen if you have questions. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants