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

ValueError: could not broadcast input array from shape (100,) into shape (300,) #2

Open
MediGenie opened this issue Dec 6, 2022 · 0 comments

Comments

@MediGenie
Copy link

So i am trying to run it on my MacBook Pro M2. I was following your directions, but I am getting this error. Help please? I made the changes to the bash files for data/emb file

(torch-gpu) /home DHAP % bash scripts/train_chat.sh Traceback (most recent call last): File "runModel.py", line 56, in <module> src_vocab_list, embs = VocabField.load_from_pretrained(emb_file) File "/DHAP/seq2seq/dataset/vocabField.py", line 55, in load_from_pretrained embedding[i+5] = vec ValueError: could not broadcast input array from shape (100,) into shape (300,)

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

1 participant