-
**Describe**
Model I am using LayoutXLM:
After fine-tune from layoutxlm-base,following this code:
```
python -m torch.distributed.launch examples/run_xfun_re.py \
--model_name_or_path lay…
-
您好首先很感谢您分享的代码,我按照你提供代码运行python layoutlmv3/tet_embedding.py之后进行 python layoutlmv3/tet_train.py进行训练爆出以下错位,不知您之前是否遇到过
--------------------------------------
C++ Traceback (most recent call last):
----…
-
**Describe**
Model I am using LayoutXLM
I am trying to fine-tune the model with Question-Answer pair.
When I use "microsoft/layoutlmv2-base-uncased", there is no problem with the model or data. W…
-
Thanks for great repo.
I had convert hugginface model to paddle successfully, after that I had load model
```
from paddlenlp.transformers import LayoutXLMModel, LayoutXLMTokenizer
tokenizer = Lay…
-
Hi developer,
When I export layoutxlm RE model to onnx, I find torch.nn.bilinear can not export to onnx, can a function that can be supported by onnx replace torch.nn.bilinear?
![image](https://use…
-
### 🚀 The feature, motivation and pitch
nn.CrossEentropy and nn.NLLLoss functions have the argument "ignore_index" to specify the target index to be ignored during loss calculation
Eg: Pls ref:
htt…
-
Hi,
I wanted to make inference with `LayoutXLM `with model parameters to `Half `(`float16`) dtype on CPU (I did try on GPU and it worked).
As I'm using Transformers from Hugging Face, I ran the …
piegu updated
11 months ago
-
### 请提出你的问题
如下代码,为什么这里要硬编码entitie_label == 2呢,如果关联关系里面正好没有值为2的这个关系,就会报错,
例如有4个label:{'a':1,'b':2,'c':3,'d':4},训练数据里的关系只有[(1,3),(1,4)],走到这一步时就会产生一个空集合,再往下面走就会报Floating point exception
…
-
just happened to see that Donut model is good at form understanding task and under MIT licence, so I am wondering anyone has tried using Donut to extract key-value pairs?
I checked Niels' tutorial…
-
#### 问题描述 / Problem Description
使用增值税发票的数据集进行训练,执行报错:
命令:python tools/train.py -c configs/kie/vi_layoutxlm/ser_vi_layoutxlm_xfund_zh.yml
报错:
![图片](https://github.com/PaddlePaddle/PaddleOCR/assets/…