-
Notifications
You must be signed in to change notification settings - Fork 13
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
No checkpoint found #8
Comments
@heyun1994 Sorry, tools/test_net.py is not for testing the RRPN++, please see Readme.md for further information. |
Thank you for your response. FileNotFoundError: [Errno 2] No such file or directory: '../hard_space1/models/ICDAR13_15_17_Trial_AFPN_LERB_RT_Spotter_recg_refine_v1/model_0220000.pth' So I test this model (python ./demo/rrpn_e2e_infer.py --config-file=configs/arpn/e2e_rrpn_R_50_C4_1x_test_AFPN.yaml), Traceback (most recent call last): |
@mjq11302010044 @heyun1994 |
@ShaheenPerveen |
@heyun1994 |
@ShaheenPerveen |
@heyun1994 I am trying to use: $RRPN_ROOT/demo/rrpn_e2e_infer.py to test my images. What about you? |
@ShaheenPerveen |
@heyun1994 I am using "./configs/arpn_E2E/e2e_rrpn_R_50_C4_1x_test_AFPN_RT_LERB_Spotter.yaml" config file |
@ShaheenPerveen @heyun1994 You can download the trained file from my google drive link, and replace the checkpoint path in the config file, and it will be fine to go. |
Thank you @mjq11302010044, I was able to download and use the pretrained file but now I am encountering a new error. Please help out
|
@mjq11302010044 lstr: |-----------------------------------| |ODY| |
Sorry to disturb you. Will the project run successfully after you add the checkpoint file? |
@heyun1994 I am not training the model, I am using the pre-trained model for testing on my own images. I had downloaded model_IC15_89.pth using the link https://drive.google.com/file/d/1nv-ZjbYBj8ePZRa_fAhbHvzm7HqSxPWK/view?usp=sharing and changed the path to the location of this checkpoint in configs/arpn_E2E/e2e_rrpn_R_50_C4_1x_test_AFPN_RT_LERB_Spotter.yaml
|
@ShaheenPerveen |
Hi @heyun1994
I am unable to find a source to obtain './data_cache/alphabet_IC13_IC15_Syn800K_pro.txt'. |
@heyun1994 I am unable to run the training properly also we can't use WeChat, will it be possible for you to upload the file as github gist or as a file in one of your github repository which I can clone? |
@heyun1994 Thank you for sharing the file. Let me run the model on my images and get back with what output did I get |
@heyun1994 I was able to test using pretrained model and the alphabet file provided by you but I am also facing the same problem. The output file generated by the model corresponding to each image looks like this:
When I check the images saved in vis folder, I can see some words being bounded by bounding boxes but there are no words recognised in the result file. Not sure how to understand this. |
Hey @mjq11302010044 could you please help me understand the output. |
Hey @mjq11302010044 I was able to understand the output of the model, it is similar to QUAD geometry mentioned in EAST paper. |
@ShaheenPerveen |
Hi
I found a problem. When I was testing the model (python ./tools/test_net.py --config-file=configs/arpn/e2e_rrpn_R_50_C4_1x_test_AFPN.yaml).
2020-12-31 13:35:14,374 maskrcnn_benchmark.utils.checkpoint INFO: No checkpoint found. Initializing model from scratch
2020-12-31 13:35:14,374 maskrcnn_benchmark.data.build WARNING: When using more than one image per GPU you may encounter an out-of-memory (OOM) error if your GPU does not have sufficient memory. If this happens, you can reduce SOLVER.IMS_PER_BATCH (for training) or TEST.IMS_PER_BATCH (for inference). For training, you must also adjust the learning rate and schedule length according to the linear scaling rule. See for example: https://github.com/facebookresearch/Detectron/blob/master/configs/getting_started/tutorial_1gpu_e2e_faster_rcnn_R-50-FPN.yaml#L14
My GPU is TITAN RTX 24GB. I want to know what causes this, please tell me.
The text was updated successfully, but these errors were encountered: