lavis-nlp / spert

PyTorch code for SpERT: Span-based Entity and Relation Transformer
MIT License
685 stars 146 forks source link

Simple example issue #57

Closed MinYounZhang closed 2 years ago

MinYounZhang commented 3 years ago

After download model and dataset, i used python ./spert.py train --config configs/example_train.conf and got this:

terminate called after throwing an instance of 'std::runtime_error' what(): generic_type: cannot initialize type "WorkerId": an object with that name is already defined

markus-eberts commented 2 years ago

I don't think that the exception is related to SpERT. Maybe have a look at this pytorch issue: https://github.com/pytorch/pytorch/issues/32270