-
Notifications
You must be signed in to change notification settings - Fork 155
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
Getting mbox_loss as 0 #14
Comments
@ravikantb Did you try the Synthetic dataset or ICDAR 2013 dataset? I suggest you try them first. |
@MhLiao : Thanks for your suggestion. We (me and my friends here) tried ICDAR 2013 dataset and found what was wrong with our way of training. Apparently we were trying to train without using test_size.txt files which did not generate correct lmdb database files. Now we are able to train TextBoxes on our own dataset also :) |
Hi @ravikantb , |
Hi @ahmedmazari-dhatim , Following steps helped me run it on my own dataset:
If you haven't already then my suggestion would be to read these create_list.py and create_data.sh (and also create_annoset.py which is called by create_data.sh) files and understand what they are doing. Hope this helps :) |
@ravikantb How do I convert the dataset annotations into Pascal_VOC format (XML format) such that the codes you mentioned above can create an appropriate lmdb file, on which Textboxes could be trained successfully. Please help. |
@MhLiao I am experiencing the same issue. I have used create_list.py and create_data.sh to create the training LMDB for ICDAR13 and my own custom dataset without any error. However both multibox loss and detection_eval is turning out to be exactly 0 for both. Could you please help figure out why this could be happening? I will share xml files of annotation if need be. @ravikantb Could you please elaborate on step 2 in your previous comment? I am not able to see documentation to help create this text file of image sizes (is it dimensions (e.g: 1920x1080) or size on disk). I know it is more than a year ago but any hint would be helpful. Thanks, |
@ravikantb Hi, I have the same problem. I am trying to train SSD on COCO2017 dataset, but i generate lmdb files without train_size.txt and test_size.txt. So, is that the problem? |
I'm facing same issue.. is there someway of debbugging the issue? The logs are not useful and the error messages are not informative. In my case, increasing the size of the input images by 10% creates out-of-memory exception and without increase in size (336 x 204 is the size of the original images) I get mbox_loss = 0 (* 1 = 0 loss) messages. Don't have a clue where to look. ================================================================== |
Hi,
I am trying to train TextBoxes on my custom dataset. The annotations are in pascal_voc format. I am getting following log for all the iterations so far (currently it is at 830 iteration) while training TextBoxes.
Train net output #0: mbox_loss = 0 (* 1 = 0 loss)
Somehow it does not look right to me. Can someone suggest what might be wrong here. I have done a code walk through and things seem right as far as annotations are concerned. I am debugging it further but any quick help will be appreciated. Thanks.
The text was updated successfully, but these errors were encountered: