You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SAR Text Recognition Model was used to custom train the license plates dataset to recognize the Nepali characters. I used Google Drive to train the model to recognize the texts. Now I want to use the weights (file ending in .pth extension) on my local device for inference. The text_rec_model contains the path of .pth file
infer = TextRecInferencer(weights=text_rec_model)
I am thrown this error in the PyCharm Terminal. FileNotFoundError: [Errno 2] No such file or directory: '/content/drive/MyDrive/mmocr_tut/mmocr/configs/textrecog/sar/../../../dicts/english_digits_symbols.txt'
Is the configuration file saved inside .pth file? If so then how do I edit so that I can run inference using the latest checkpoint, in this case, epoch_85.pth file
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
SAR Text Recognition Model was used to custom train the license plates dataset to recognize the Nepali characters. I used Google Drive to train the model to recognize the texts. Now I want to use the weights (file ending in .pth extension) on my local device for inference. The text_rec_model contains the path of .pth file
infer = TextRecInferencer(weights=text_rec_model)
I am thrown this error in the PyCharm Terminal.
FileNotFoundError: [Errno 2] No such file or directory: '/content/drive/MyDrive/mmocr_tut/mmocr/configs/textrecog/sar/../../../dicts/english_digits_symbols.txt'
Is the configuration file saved inside .pth file? If so then how do I edit so that I can run inference using the latest checkpoint, in this case, epoch_85.pth file
Beta Was this translation helpful? Give feedback.
All reactions