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

Custom datasets #17

Closed
santoshreddy254 opened this issue May 28, 2020 · 5 comments
Closed

Custom datasets #17

santoshreddy254 opened this issue May 28, 2020 · 5 comments

Comments

@santoshreddy254
Copy link

Cloud you throw some light on how to modify the code for other custom datasets?
I want to use my own dataset instead of using ImageNet or CUB or OpenImages.
I have dataset in VOC format

@coallaoh
Copy link
Collaborator

Thank you for your interest in our work.
To add a dataset, prepare the metadata mimicking the file structures and file formats in e.g. https://github.com/clovaai/wsolevaluation/tree/master/metadata/CUB.

You then need to adapt the code to this new dataset by changing e.g.

and set the data root (

parser.add_argument('--data_root', metavar='/PATH/TO/DATASET',
) to your local dataset location.

@santoshreddy254
Copy link
Author

Very quick response Thank you for that. I will update you if I can do that

@santoshreddy254
Copy link
Author

Hi,
I am facing issues in how to load VOC format data, you have bounding boxes in a txt file for each image but for me, I have in XML file which is parsed and got the box but I was not able to incorporate in this code. Any help or suggestion is appreciated.

@coallaoh
Copy link
Collaborator

coallaoh commented Jun 8, 2020

Sorry, we don't have enough manpower to provide guidance on turning XML files into txt files :(

@coallaoh
Copy link
Collaborator

coallaoh commented Jul 6, 2020

Closing the issue, assuming the question was answered :)
Please re-open the issue as necessary.

@coallaoh coallaoh closed this as completed Jul 6, 2020
@ghost ghost mentioned this issue Feb 15, 2021
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