.An error occurred while running the lightner code in Python run.py,I tried to solve the problem but still couldn't solve it, so I came to seek advice. Thank you very much
Environment (please complete the following information):
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Traceback (most recent call last):
File "run.py", line 115, in main
trainer.train()
File "/home/zut/anaconda3/envs/deepke/lib/python3.8/site-packages/deepke-2.2.7-py3.8.egg/deepke/name_entity_re/few_shot/module/train.py", line 84, in train
self.writer.log({ 'avg_loss':avg_loss})
AttributeError: 'NoneType' object has no attribute 'log'
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.
Describe the bug
Environment (please complete the following information):
Screenshots
Additional context
Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.