-
Notifications
You must be signed in to change notification settings - Fork 49
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
spm_encode not found #10
Comments
https://github.com/AI4Bharat/IndicTrans2/blob/main/install.sh#L46 As mentioned in install.sh, in order to use spm_encode from the command line, you need to build the cpp binaries from the source repo. Please refer to the sentencepiece github repository link and follow the steps there, post this is done, the above issue should be resolved. |
@PranjalChitale , Thank you for the quick response, Issue resolved. It's running successful with no error. Now checking output.txt file is blank file with same number of blank lines as a input number of line. Hindi to English AND English to English also get output blank. I see output.txt.log has below errors
May be due to above errors log , it's not translating or something else is missing. EDIT 1: Running python inference working fine , generating output, issue is only from above command. |
^ Please create a new environment with Python 3.9 and this should be resolved. |
Hey,
I did clone and ran model with input text and expecting ouput in english, I downloaded model on my local mac m2 pro
Getting below error
joint_translate.sh: line 48: spm_encode: command not found
Command i ran is below
bash joint_translate.sh input op hin_Deva eng_Latn ../../../Downloads/indic-en-deploy/fairseq_model
Can you please help me to how i can export spm_encode
I exported it with SPM_PATH but no chance.
The text was updated successfully, but these errors were encountered: