HLTCHKUST / MulQG

Multi-hop Question Generation with Graph Convolutional Network
MIT License
29 stars 6 forks source link

Error 'from GPG.embedding import GloveEmbeddings, BertEmbeddings' #2

Open XavierWww opened 3 years ago

XavierWww commented 3 years ago

I use '!bash ./run_train.sh' to train, it appears as follow:

Traceback (most recent call last): File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/usr/lib/python3.6/runpy.py", line 85, in _run_code exec(code, run_globals) File "/content/drive/My Drive/MulQG-main/GPG/main.py", line 2, in from GPG.trainer import Trainer File "/content/drive/My Drive/MulQG-main/GPG/trainer.py", line 19, in from GPG.models.model import GraphPointerGenerator File "/content/drive/My Drive/MulQG-main/GPG/models/model.py", line 7, in from GPG.models.model_builder import build_glove_embeddings File "/content/drive/My Drive/MulQG-main/GPG/models/model_builder.py", line 3, in from GPG.embedding import GloveEmbeddings, BertEmbeddings ModuleNotFoundError: No module named 'GPG.embedding'

Maybe there is no 'embedding.py' in ../MulQG-main/GPG/..

Could you upload it? Thank you!

Iamfinethanksu commented 3 years ago

updated :D