LeeSureman / Flat-Lattice-Transformer

code for ACL 2020 paper: FLAT: Chinese NER Using Flat-Lattice Transformer
1k stars 178 forks source link

转ONNX格式问题 #90

Open wanilyer opened 3 years ago

wanilyer commented 3 years ago

RuntimeError: Exporting the operator _xor to ONNX opset version 12 is not supported. Please feel free to request support or submit a pull request on PyTorch GitHub.

有人知道怎么解决吗?这个__xor_是在哪里用的呢

Leobin7 commented 2 years ago

torch.export用torch>=1.8.0,试试