tonytan48 / KD-DocRE

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

I'm curious that after downloading the file, the content is empty. #14

Closed WilliamAntoniocrayon closed 2 years ago

WilliamAntoniocrayon commented 2 years ago

image Sorry to disturb you again. Because I changed a server, when I rerun step 2 for bert, train_ distant.json.bert-base-cased.pt file shows that it has been downloaded successfully, but when I opened it, I found that it was an empty file. image

tonytan48 commented 2 years ago

I suspect that the train distant.json.bert-base-cased.pt that you transferred across servers is not complete, since this file can be very large. You may try delete this file on your new server and then re-process the features of train distant.json, which is just running the same script after deletion of old file.

WilliamAntoniocrayon commented 2 years ago

Thank you very much for your suggestion. I have found the source of the problem.