AI4Bharat / indicTrans

indicTranslate v1 - Machine Translation for 11 Indic languages. For latest v2, check: https://github.com/AI4Bharat/IndicTrans2
https://ai4bharat.iitm.ac.in/indic-trans
MIT License
119 stars 31 forks source link

ModuleNotFoundError: No module named 'inference' #45

Closed MdYeasinSamadArnob closed 2 years ago

MdYeasinSamadArnob commented 2 years ago

Throwing error

from indicTrans.inference.engine import Model

showing

ModuleNotFoundError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_1140/1581464475.py in ----> 1 from indicTrans.inference.engine import Model

D:\datascienceprojects\project-new\indicTrans\inference\engine.py in 13 from indicnlp.tokenize import sentence_tokenize 14 ---> 15 from inference.custom_interactive import Translator 16 17

ModuleNotFoundError: No module named 'inference'

el2e10 commented 2 years ago

Throwing error

from indicTrans.inference.engine import Model

showing

ModuleNotFoundError Traceback (most recent call last) ~\AppData\Local\Temp/ipykernel_1140/1581464475.py in ----> 1 from indicTrans.inference.engine import Model

D:\datascienceprojects\project-new\indicTrans\inference\engine.py in 13 from indicnlp.tokenize import sentence_tokenize 14 ---> 15 from inference.custom_interactive import Translator 16 17

ModuleNotFoundError: No module named 'inference'

Try importing after running %cd indicTrans