luminoth icon indicating copy to clipboard operation
luminoth copied to clipboard

TODO guidelines on how to write your own conversion tool

Open singhanj13 opened this issue 8 years ago • 6 comments

I could not find the guidelines for writing my own conversion tool on a new dataset.

singhanj13 avatar Nov 09 '17 06:11 singhanj13

I was also searching for some guidelines but couldn't find any. But maybe this branch helps to get started: https://github.com/tryolabs/luminoth/tree/custom-dataset

clicit avatar Nov 09 '17 09:11 clicit

Hi @singhanj13 @clicit, we are currently rewriting the conversion tool in https://github.com/tryolabs/luminoth/tree/transform-rewrite and we'll add docs and sample code on how to write custom readers as well.

May I ask in what way do you have the data stored? We definitely want to have some basic custom readers by default.

vierja avatar Nov 09 '17 15:11 vierja

Hi @vierja , my dataset comes from a Keras SSD. Beside two image directories (train, val) the labels are stored in CSV files with format:

img_name, x_min, x_max, y_min, y_max, class_id

Would be great if you could give some advice!

many thanks!

clicit avatar Nov 09 '17 16:11 clicit

@clicit I've added a basic CSV reader for what you were describing (it's in bd0df9cd7aef7426696966608cbf6eb0f57d859d, still not in master). I would love to hear more about your use case and how we can improve Luminoth for broader use cases, if you are interested in telling me a bit more you can reach me at jrey at tryolabs com.

vierja avatar Nov 10 '17 05:11 vierja

Hi @vierja , my dataset is in a similar format as Pascal VOC. I have JPEG images, image sets containing lists of training, validation and test images and bounding box annotations in XML format.

singhanj13 avatar Nov 10 '17 06:11 singhanj13

Hello @vierja - I realize this is an old issue but since you haven't closed it I assume you're still adding support. Is there any shot at transforming .mat annotations? Would be a huge help if so. Thanks!

BHunter2889 avatar Mar 15 '18 02:03 BHunter2889