wanilyer

Results 2 issues of wanilyer

**疑似使用crf模块会遇到bug,希望大神帮忙看看,应该怎么解决,谢谢!** **Describe the bug** **描述** - 1、使用bert+crf模块训练一个模型,保存为pth `torch.save(model, model_path)` - 2、试图将该模型转换到pt结构时,在crf模块处报错 ``` model = torch.load("{}/{}".format(model_path, model_file)) traced_script_module = torch.jit.trace(model, args) traced_script_module.save("{}/test.pt".format(model_path)) ``` **报错信息:** ``` Traceback (most recent call last): File...

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_是在哪里用的呢