RayeRen / multilingual-kd-pytorch

ICLR2019, Multilingual Neural Machine Translation with Knowledge Distillation
Other
70 stars 18 forks source link

Cannot do inference on any trained models #8

Open linhkid opened 2 years ago

linhkid commented 2 years ago

As title, whenever I tried to do interactive.py, for student model or teach model, it will be like this


  File "/ldap_home/khanhlinh.nguyen/notebooks/MNMT/multilingual-kd-pytorch/fairseq/tasks/fairseq_task.py", line 56, in dataset
    raise KeyError('Dataset not loaded: ' + split)
KeyError: 'Dataset not loaded: train'

I am trying to fix the code but it seems difficult to do so.

robotsp commented 1 year ago

@linhkid @myleott Did you solve the problem? I have the same issue here.