zjunlp / KnowPrompt

[WWW 2022] KnowPrompt: Knowledge-aware Prompt-tuning with Synergistic Optimization for Relation Extraction
MIT License
194 stars 34 forks source link

pytorch_lightning.utilities.exceptions.MisconfigurationException: No `test_dataloader()` method defined to run `Trainer.test`. #20

Closed Lextra1999 closed 1 year ago

Lextra1999 commented 1 year ago

image The training works but it throws the exception. Environment pytorch_lightning ==1.5.0

njcx-ai commented 1 year ago

It may be an environment configuration problem. You can try to follow the same environment configured as described in "requirements.txt". Thanks.