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

SSD模型代码ssd_vgg16_300_240e_voc.yml 训练代码无法运行 #8921

Open
3 tasks done
zeng215217 opened this issue Apr 14, 2024 · 1 comment
Open
3 tasks done
Assignees

Comments

@zeng215217
Copy link

问题确认 Search before asking

  • 我已经查询历史issue,没有发现相似的bug。I have searched the issues and found no similar bug report.

Bug组件 Bug Component

Training

Bug描述 Describe the Bug

python -m paddle.distributed.launch tools/train.py -c configs/ssd/ssd_vgg16_300_240e_voc.yml

报错
Traceback (most recent call last):
File "tools/train.py", line 209, in
main()
File "tools/train.py", line 205, in main
run(FLAGS, cfg)
File "tools/train.py", line 145, in run
trainer = Trainer(cfg, mode='train')
File "D:\zengying\code\PaddleDetection\ppdet\engine\trainer.py", line 100, in init
self.loader = create('{}Reader'.format(capital_mode))(
File "D:\zengying\code\PaddleDetection\ppdet\data\reader.py", line 168, in call
self.dataset.parse_dataset()
File "D:\zengying\code\PaddleDetection\ppdet\data\source\voc.py", line 111, in parse_dataset
img_file, xml_file = [os.path.join(image_dir, x)
ValueError: not enough values to unpack (expected 2, got 1)
LAUNCH INFO 2024-04-14 23:55:19,245 Exit code 1

复现环境 Environment

最新的ppdet

Bug描述确认 Bug description confirmation

  • 我确认已经提供了Bug复现步骤、代码改动说明、以及环境信息,确认问题是可以复现的。I confirm that the bug replication steps, code change instructions, and environment information have been provided, and the problem can be reproduced.

是否愿意提交PR? Are you willing to submit a PR?

  • 我愿意提交PR!I'd like to help by submitting a PR!
@lyuwenyu
Copy link
Collaborator

请确保数据的路径配置正确

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

No branches or pull requests

3 participants