Skip to content

Problem running the code #16

@pavlostheodorou

Description

@pavlostheodorou

I have Python 3.6.8 with Pytorch=0.4.1, torchtext=0.2.1, gensim and pycorenlp install.
Following the steps to run the code, the url (http://central.maven.org/maven2/edu/stanford/nlp/stanford-corenlp/3.9.1/stanford-corenlp-3.9.1.jar) does not work however i manage to find the .jar file.

When i tried to run the Preprocessing section (of Conversational models) i managed to run the first 3 commands, but when i run the 4th command (PYTHONPATH=seq2seq python seq2seq/tools/embeddings_to_torch.py -emb_file_enc wordvecs/glove.42B.300d.txt -emb_file_dec wordvecs/glove.42B.300d.txt -dict_file data/seq2seq-h2.vocab.pt -output_file data/seq2seq-h2.embed) an error occurs:

Traceback (most recent call last):
File "seq2seq/tools/embeddings_to_torch.py", line 10, in
from onmt.Utils import get_logger
ModuleNotFoundError: No module named 'onmt'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions