ChunMing Mai
ChunMing Mai
I have fined tune the model with my own dataset and get the same result, such as ifffffffffffffffffffffffff => if Additionaly, my lmdb train data is generated by https://github.com/bgshih/crnn/blob/master/tool/create_dataset.py ....
Here is my train data, which is cut from ICDAR2003 dataset downloaded from http://www.iapr-tc11.org/dataset/ICDAR2003_RobustReading/TrialTrain/scene.zip  And I make train.lmdb with code  @gachiemchiep
Here is my train command. By test I ontly train with 2 epoch. ` python crnn_main.py --trainroot /home/maichm/Projects/PyTorch2/Projects/crnn.pytorch/data/scene/SceneTrialTrain/train.lmdb --valroot /home/maichm/Projects/PyTorch2/Projects/crnn.pytorch/data/scene/SceneTrialTrain/train.lmdb --random_sample --niter 2 --crnn "data/crnn.pth" --saveInterval 5 --displayInterval 1 `...
Furthermore, Is it need to do some preprocess with my data ?Just as described by @meijieru: For training with variable length, please sort the image according to the text length....
Sloved my problem, thank you very much! This made me stuck yesterday long , and I had forgotten the learning rate is essential is deeplearning. Anyway, Thank you once more!...
@YHCodes if you have both python3.5 and python3.6 in your Ubantu, please point out which python version to be used in lanms/Makefile. like: CXXFLAGS = -I include -std=c++11 -O3 $(shell...
Use `print(image_name)` in your code to debug. I think there must be some broken image in your images directory.