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
TEXT=examples/translation/iwslt14.tokenized.de-en
fairseq-preprocess --source-lang de --target-lang en \
--trainpref $TEXT/train --validpref $TEXT/valid --testpref $TEXT/test \
--destdir data-bin/iwslt14.tokenized.de-en \
--workers 20
I am getting this error
Traceback (most recent call last):
File "/user/dara/libs/anaconda3/envs/fairseq/bin/fairseq-preprocess", line 33, in <module>
sys.exit(load_entry_point('fairseq', 'console_scripts', 'fairseq-preprocess')())
File "/user/dara/libs/anaconda3/envs/fairseq/bin/fairseq-preprocess", line 22, in importlib_load_entry_point
for entry_point in distribution(dist_name).entry_points
File "/user/dara/libs/anaconda3/envs/fairseq/lib/python3.8/importlib/metadata.py", line 503, in distribution
return Distribution.from_name(distribution_name)
File "/user/dara/libs/anaconda3/envs/fairseq/lib/python3.8/importlib/metadata.py", line 177, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: fairseq
🐛 Bug
Hi
I am trying to run a translation example here https://github.com/pytorch/fairseq/tree/main/examples/translation
running preprocess:
I am getting this error
Expected behavior
this needs to run as per documentation
Environment
pip
, source): sourceThe text was updated successfully, but these errors were encountered: