Comments (3)
ValueError: (InvalidArgument) Variable value (input) of OP(fluid.layers.embedding) expected >= 0 and < 1024, but got 1058. Please check input value.
[Hint: Expected ids[i] < row_number, but received ids[i]:1058 >= row_number:1024.] (at ..\paddle\phi\kernels\cpu\embedding_kernel.cc:67)
这个看起来是你准备的数据存在问题导致的,你可以顺藤摸瓜的自己追溯一下。
我也会请OCR的同学帮你看看。但通过报错能够发现的问题终归有限。
from paddle.
看起来是训练数据的维度问题,可以参考开源的数据检查下标注:https://github.com/PaddlePaddle/PaddleOCR/blob/1ca0c2231abe809f753287be525d180c79a06d72/doc/doc_ch/kie.md#13-%E6%95%B0%E6%8D%AE%E4%B8%8B%E8%BD%BD
同时确认下是否修改了网络的默认配置
from paddle.
看起来是训练数据的维度问题,可以参考开源的数据检查下标注:https://github.com/PaddlePaddle/PaddleOCR/blob/1ca0c2231abe809f753287be525d180c79a06d72/doc/doc_ch/kie.md#13-%E6%95%B0%E6%8D%AE%E4%B8%8B%E8%BD%BD
同时确认下是否修改了网络的默认配置
网络默认配置未修改,标注格式目前也没有发现问题。请问这个是否与验证集的一些文本transcription对应的id不在训练集的id范围内有关?
from paddle.
Related Issues (20)
- 模型推理报错,请教问题,ValueError: (InvalidArgument) Deserialize to tensor failed HOT 2
- paddle无法通过gpu推理离线部署包 HOT 3
- 龙芯3A6000+银河麒麟v10 sp1系统:编译paddle2.3.0 link错误:Internal: PLT stub doesn't represent. Resolve it with pcrel ,如何解决?
- 单卡训练报错ValueError: paddle.distributed initialize error, environment variable FLAGS_selected_gpus is needed, but not set. HOT 1
- 同样docker容器,同样的代码3090/4070显卡报错,V100/A100训练成功 HOT 2
- DeepXDE在paddle backend下使用L-BFGS优化器出现错误结果 HOT 1
- 在windows容器中使用paddlepaddle-gpu有问题 HOT 15
- paddle_inference推理库(3.0.0-beta1 版本)GPU无法推理 HOT 3
- PIR 单测推全交流平台 HOT 9
- 在XPU上编译安装Paddle验证报错 HOT 2
- 修改文件数量较多时 PR-CI-Codestyle-Check 失败
- 分布式模型在训练过程中使用SyncBatchNorm报错 HOT 1
- [BUG] SPInnerOverlapLinear缺少部分梯度的计算,如x需要梯度,weight不需要梯度,weight需要梯度,x不需要梯度的情况。 HOT 1
- Paddle xpu产物编译Paddle-Inference-Demo出现错误 HOT 1
- to_tensor返回值错误,有时是乱的,有时是全0 HOT 5
- PaddleTS的DeepAR模型 在用paddle inference推理的时候,PreconditionNotMetError: Tensor holds no memory. Call Tensor::mutable_data firstly. HOT 2
- Mac M3搭建PaddleTS环境遇到的Cython问题 HOT 2
- 单机多卡训练报错 [operator < coalesce_tensor > error] HOT 4
- centos编译paddle develop (cpu)报错。 HOT 7
- 【记录】paddle.nn.* 中 class api 补齐 dtype
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from paddle.