Skip to content

Exception: Please define ILMULTI_CORPUS_ROOT in environment variable #2

@Nimishasri

Description

@Nimishasri

System:
Description: Ubuntu 18.04.4 LTS
Release: 18.04
Codename: bionic

Python 3.7.6

Created a folder Research/MT on Home. Setup and activated Virtual environment in Research/MT
Cloned ilmulti in Research/MT
Ran the following:

python3 -m pip install -r requirements.txt --user  
python3 setup.py install

Downloaded the models by running scripts/download-and-setup-models.sh
No errors/warnings uptill now
Opened up a Jupyter notebook and ran the following:

from ilmulti.translator import from_pretrained

translator = from_pretrained(tag='mm-all')
sample = translator("The quick brown fox jumps over the lazy dog", tgt_lang='hi')

Exception: Please define ILMULTI_CORPUS_ROOT in environment variable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions