tonytan48 / KD-DocRE

Implementation of Document-level Relation Extraction with Knowledge Distillation and Adaptive Focal Loss
110 stars 20 forks source link

ModuleNotFoundError: No module named 'utils' #5

Closed moh-yani closed 2 years ago

moh-yani commented 2 years ago

Dear,

When we tried to run bash scripts/bathc_roberta.sh we got errors:

File "train.py", line 13, in from utils import set_seed, collate_fn, collate_fn_kd, label_collate_fn, get_label_input_ids ModuleNotFoundError: No module named 'utils'

Anyone knows what happen?

regards,

Mohammad

tonytan48 commented 2 years ago

Sorry I forgot to upload it, now should be there.

moh-yani commented 2 years ago

Thanks Tony,

regards,

Mohammad