Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

图片分类训练时报错 #3109

Closed
dencentding opened this issue Mar 12, 2024 · 1 comment
Closed

图片分类训练时报错 #3109

dencentding opened this issue Mar 12, 2024 · 1 comment
Assignees

Comments

@dencentding
Copy link

dencentding commented Mar 12, 2024

  1. PaddleClas 2.5.1 PaddlePaddle-gpu 2.6.0

  2. 训练环境信息:
    a. 操作系统:Linux
    b. Python版本:Python3.10
    c. CUDA 11.8
    数据集没有问题, 训练脚本python -m paddle.distributed.launch --gpus="0" tools/train.py -c ./ppcls/configs/quick_start/ResNet50_vd.yaml
    训练开始就报错
    image
    ,假如我把报错源码里的metric_dict[key].numpy()[0]下标去掉改成metric_dict[key].numpy()就没问题,训练时指标没什么异常,但是评估时准确率top1为0,loss值都好几百了,是因为我改了metric_dict[key].numpy()[0]这个的原因吗,有大佬知道怎么回事吗

@dencentding dencentding closed this as not planned Won't fix, can't repro, duplicate, stale Mar 15, 2024
@paddle-bot paddle-bot bot closed this as completed Mar 15, 2024
@dencentding
Copy link
Author

a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants