-
Notifications
You must be signed in to change notification settings - Fork 84
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
the problem about process_boxes #70
Comments
Hi,
function just feeds actual proposals from detector to OCR module.
Hope it helps, Michal |
What is your batch size? My guess it too small - try something > 64 |
Hi, in function process_boxes net.forward_ocr is called 3 times. I am not clear about it. By reading paper, what I understand is the function process_boxes ocr the crops extracted by the But I am not clear about 3rd ocr call on line 381 above.. I have referred Fig 3 of your paper https://arxiv.org/pdf/1801.09919.pdf for understanding. |
Hi, thanks for sharing your amazing code!
I have some question, can you help me?
I don't know the function of process_boxes in train.py.
if step > 10000 or True: #this is just extra augumentation step ... in early stage just slows down training ctcl, gt_b_good, gt_b_all = process_boxes(images, im_data, seg_pred[0], roi_pred[0], angle_pred[0], score_maps, gt_idxs, gtso, lbso, features, net, ctc_loss, opts, debug=opts.debug) ctc_loss_val += ctcl.data.cpu().numpy()[0] loss = loss + ctcl gt_all += gt_b_all good_all += gt_b_good
as shown in the above code, the ctc_loss is validation loss. But I notice that the loss will backward. As I know, the validation loss should not operate backward(). So can you explain it?
thanks!
The text was updated successfully, but these errors were encountered: