Skip to content

error training model #2

@connormeaton

Description

@connormeaton

First off, thanks for code, this is really great work.

I am having trouble training the model with the command example you provided. I am using this command to train the model:

$ python core.py --model Lee-Dernoncourt
--dataset SwDA <path_to_SwDA_dataset_directory>
--embedding GloVe <path_to_GloVe_embedding_file>

I am replacing the paths to reflect where I unzipped/stored the swda dataset / glove and word2vec embeddings, which looks as below:

$ python core.py --model Lee-Dernoncourt --dataset SwDA swda/data --embedding word_embedding/word2vec/GoogleNews-vectors-negative300.bin

Inside of swda/data contains subdirectories 'sw00ut', 'sw01utt', and so on. Running this command yields the following error:

KeyError: '/word_embedding/word2vec/GoogleNews-vectors-negative300.bin'

If I change the command to:

$ python core.py --model Lee-Dernoncourt --dataset SwDA swda/data --embedding word2vec word_embedding/word2vec/GoogleNews-vectors-negative300.bin

Then I get this error:

core.py: error: unrecognized arguments: /word_embedding/word2vec/GoogleNews-vectors-negative300.bin

If you have any ideas on how to proceed, please advise. Thank you very much,

Best,
Connor

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