Comments (2)
base on the document I found the commit should be rollback.
commit
After roll it back, the training result is correct.
https://www.paddlepaddle.org.cn/documentation/docs/zh/api/paddle/nn/functional/cross_entropy_cn.html#cross-entropy
label (Tensor) – 输入 input 对应的标签值。若 soft_label=False,要求 label 维度为 [N1,N2,...,Nk]
或 [N1,N2,...,Nk,1]
,数据类型为'int32', 'int64', 'float32', 'float64',且值必须大于等于 0 且小于 C;若 soft_label=True,要求 label 的维度、数据类型与 input 相同,且每个样本各软标签的总和为 1。
from paddleclas.
感谢提出问题,建议使用最新版本哈~
from paddleclas.
Related Issues (20)
- 分类模型转换onnx后推理结果与直接paddle推理结果差别比较大 HOT 1
- 问题反馈:安装paddleclas包失败 HOT 5
- PP-ShiTuV2的特征提取,如何划分数据集 HOT 1
- GeneralRecognitionV2_PPLCNetV2_base.yaml", yaml.scanner.ScannerError: mapping values are not allowed here HOT 1
- RuntimeError: (NotFound) The kernel with key (GPU, Undefined(AnyLayout), int32) of kernel `label_smooth` is not registered and fail to fallback to CPU one. Selected wrong DataType `int32`. HOT 1
- PP-ShiTu android demo替换自己训练的主体检测模型 HOT 5
- AssertionError: batch size should be smaller than HOT 1
- Potential Bug in Evaluation Process on Windows in classification.py HOT 1
- PP-ShiTuV2是不是只能识别单个物体,不能同时识别多个物体
- PP-ShituV2用命令行可以检测,用代码不能检测 HOT 1
- PaddleClas是否倒闭了,没人管 HOT 6
- 以图搜图功能用到提取特征的模型是否需要自己训练? HOT 1
- 人体属性分类模型是否支持单属性训练?即一张图像只有一个属性的标签 HOT 1
- 训练集图像尺寸差异过大应该如何配置? HOT 10
- PaddleClas量化离线训练无法正常训练 HOT 2
- Paddle Classification training issue - stuck HOT 1
- How to use trained Resnet classification model in python code HOT 5
- SSLD数据集获取方式 HOT 4
- PaddleClas Python 3.11 支援 HOT 18
- 如何进行分类大模型的训练,并应用到下游任务。 HOT 3
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 paddleclas.