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

Issue in the prepend branch when i try to train the model #1

Open
Nkonstan opened this issue Sep 30, 2021 · 1 comment
Open

Issue in the prepend branch when i try to train the model #1

Nkonstan opened this issue Sep 30, 2021 · 1 comment

Comments

@Nkonstan
Copy link

I get this when i try to train the model :

Traceback (most recent call last):
File "train.py", line 88, in
trainset, data_loader_train = load_dataset('train', indexer, batch_size)
File "/content/drive/My Drive/affective-decoding-4-empathetic-dialog/data_loader.py", line 120, in load_dataset
d['pred_emotion'] = np.load('empdial_dataset/fasttest_pred_emotion_texts.%s.npy' % dataset, allow_pickle=True)
File "/usr/local/lib/python3.7/dist-packages/numpy/lib/npyio.py", line 416, in load
fid = stack.enter_context(open(os_fspath(file), "rb"))
FileNotFoundError: [Errno 2] No such file or directory: 'empdial_dataset/fasttest_pred_emotion_texts.train.npy'

It misses the "fasttest_pred_emotion_texts.train.npy" ?

@zerkvii
Copy link

zerkvii commented May 23, 2022

wget https://dl.fbaipublicfiles.com/parlai/empatheticdialogues/models/fasttext_empathetic_dialogues.mdl
save this model to save directory and then run fasttext_pred to generate this data

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