-
Notifications
You must be signed in to change notification settings - Fork 154
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
Fine tuning on custom dataset: converting to LMDB #99
Comments
You should first convert the annotations of your dataset into "xml" files, with a train.txt/test.txt, as shown in the Readme.md. Then, change the corresponding save dirs and dataset lists in the “create_data.sh” and run it. |
Thank you so much! I have successfully converted to xml files but there seems to be a problem with my create_data.sh, the line What could be the reason for this? Any help is much appreciated. Thank you! |
I have found a fix. There was something wrong with my python path so I edited my ~/.bashrc and replaced my old path:
with this new path: 👍 and everything went well. The error on Pycharm still exists but the create_data.sh ran just fine with no errors on the console. Given this:
AM I ON THE RIGHT TRACK? |
Hello @gaalejandre, I did the following steps to create LMDB on a custom dataset. First make sure that your custom dataset is arranged exactly like the VOC folder structure. Pay attention to the train.txt, test.txt etc. and make sure the prefixes etc. are consistent with the VOC format. Then run create_data.sh. I recommend you create a separate folder for your dataset and modify the .sh scripts accordingly. You can refer to my project for more details. Specifically the data/AccessMath folder. Hope this helps, |
Hello @gaalejandre , |
I have a custom dataset which is a modified version of the ICDAR 2013 training dataset for training(also a separate modified ICDAR2013 for testing), so I would like to fine-tune the network using this but I seem a bit confused how to start with converting my images. Suppose, I have the images in data/ou_dataset. How will I format my create_data.sh and create_list.sh?
I have read some of the issues that are posted here and most pointed to the examples here: https://github.com/weiliu89/caffe/wiki/Train-SSD-on-custom-dataset Am I right? But I'm still confused to what will be used to recreate the steps.
Please help me.
Thank you so much!
The text was updated successfully, but these errors were encountered: