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

similarity.py is missing #23

Closed
91ns opened this issue Jan 25, 2019 · 2 comments
Closed

similarity.py is missing #23

91ns opened this issue Jan 25, 2019 · 2 comments

Comments

@91ns
Copy link

91ns commented Jan 25, 2019

I'm trying to install and run the similarity task but I got this error:

bash ./wmt.sh
python3: can't open file '/LASER//source/similarity_search.py': [Errno 2] No such file or directory

@91ns
Copy link
Author

91ns commented Jan 25, 2019

When trying to run the script similarity_search.py separately I'm getting this error:

Traceback (most recent call last):
  File "LASER/source/similarity_search.py", line 29, in <module>
    from embed import SentenceEncoder, EncodeLoad, EncodeFile
  File "/content/LASER/source/embed.py", line 36, in <module>
    from text_processing import Token, BPEfastApply
ModuleNotFoundError: No module named 'text_processing'

@hoschwenk
Copy link
Contributor

What is the value of the environment variable LASER ?
Did you set it to the base directory of the tool ?
The path "'/LASER//source/similarity_search.py" is unusual ...

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

2 participants