ShannonAI / mrc-for-flat-nested-ner

Code for ACL 2020 paper `A Unified MRC Framework for Named Entity Recognition`

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot import TensorMetric

minstar opened this issue · comments

My pytorch-lightning version is 0.10.0
and I think the version has been updated thus cannot import TensorMetric in metrics.query_span_f1.py
So, may I ask for the environment details of your experiment?

My pytorch-lightning version is 0.10.0
and I think the version has been updated thus cannot import TensorMetric in metrics.query_span_f1.py
So, may I ask for the environment details of your experiment?

pytorch-lightning==0.9.0 should work. We have updated the requirements.txt, and thanks for your feedback!

Thank you for your fast reply!