Hi, Thank you for sharing this code.
We got an error when retrain and run train.py with my own data.
After tracing code train.py we found that program failed to execute line code optim2.step(1) in method process_batch . We were following solution on issue #53 to separate the train code to be ctc_train.py that generate OCR and det_train.py that generate RPN. And the error was same. We got an error when execute line code optim2.step(1) in det_train.py . The error message was, "floating point exceptionally exception" something like that. We tried to change optim2.step(1) to be optim2.step(0) and the line code passed but still error on line code o_image = net.layers[0].get_image_file_name(bid) with error message, "segmentation fault (core dumped)" something like that.
We have no idea how to fix it? and What does '1' mean on line code optim2.step(1) ?
Hi, Thank you for sharing this code.
We got an error when retrain and run train.py with my own data.
After tracing code train.py we found that program failed to execute line code
optim2.step(1)in methodprocess_batch. We were following solution on issue #53 to separate the train code to be ctc_train.py that generate OCR and det_train.py that generate RPN. And the error was same. We got an error when execute line codeoptim2.step(1)in det_train.py . The error message was, "floating point exceptionally exception" something like that. We tried to changeoptim2.step(1)to beoptim2.step(0)and the line code passed but still error on line codeo_image = net.layers[0].get_image_file_name(bid)with error message, "segmentation fault (core dumped)" something like that.We have no idea how to fix it? and What does '1' mean on line code
optim2.step(1)?