Skip to content
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

I am getting error importing IndicProcessor #11

Closed
atul-ai opened this issue Mar 22, 2024 · 2 comments
Closed

I am getting error importing IndicProcessor #11

atul-ai opened this issue Mar 22, 2024 · 2 comments

Comments

@atul-ai
Copy link

atul-ai commented Mar 22, 2024

Context: I am running this notebook - https://colab.research.google.com/github/AI4Bharat/IndicTrans2/blob/main/huggingface_interface/colab_inference.ipynb.

I cannot get past
from IndicTransTokenizer import IndicProcessor, IndicTransTokenizer

I get this error - "ImportError: cannot import name 'IndicProcessor' from 'IndicTransTokenizer' (unknown location)"

Is this something that needs to be installed from some place?

@atul-ai
Copy link
Author

atul-ai commented Mar 22, 2024

nvm - the restart of the kernel was needed, after restart it worked.

@atul-ai
Copy link
Author

atul-ai commented Mar 22, 2024

Closing.

@atul-ai atul-ai closed this as completed Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant