-
Notifications
You must be signed in to change notification settings - Fork 24
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
data prepare error #4
Comments
Hi @justinner, that error indicates that you are not loading the training images correctly. It is possible that the folder structure is not correct, check the " For example, to use Dibco 2016 as test set and Dibco 2009-2014 as training sets, you have to write:
Inside your folder you have to create a subfolder called "
If you do not want to use augmented remove the "
Remember also that the images have to be in PNG format. Another important issue is that the input images and their corresponding ground truth must to have the same filename, for example, for the following training images of Dibco 2009:
We would have the following corresponding images of ground truth:
|
Hi,Aigallego,
I have test DIBCO datasets successfully,so I want to train my own dataset,I create a folder according to your code "train.py",then ran the code ,but it implied no aug_folder,so create one respectively.then I trained, the error is
"nonetype has the attribute shape",
the number of train data is 105,and test data is 256,but I do not have so much test data ,maybe I should sugumentaion before,but I do not know what I should do .could you help me? thanks very much!
The text was updated successfully, but these errors were encountered: