Skip to content

使用四通道tif图片训练报错 #573

Open
@zhao-yingying

Description

Before Asking

  • I have read the README carefully. 我已经仔细阅读了README上的操作指引。

  • I want to train my custom dataset, and I have read the tutorials for training your custom data carefully and organize my dataset correctly; (FYI: We recommand you to apply the config files of xx_finetune.py.) 我想训练自定义数据集,我已经仔细阅读了训练自定义数据的教程,以及按照正确的目录结构存放数据集。(FYI: 我们推荐使用xx_finetune.py等配置文件训练自定义数据集。)

  • I have pulled the latest code of main branch to run again and the problem still existed. 我已经拉取了主分支上最新的代码,重新运行之后,问题仍不能解决。

Search before asking

  • I have searched the YOLOv6 issues and found no similar questions.

Question

使用四通道tif图片训练报错,.json文件为空,提示WARNING: D:/zyy/Tailings_ponds/model/mydata/images/train\95.tif: ignoring corrupt image: cannot identify image file 'D:/zyy/Tailings_ponds/model/mydata/images/train\95.tif'。最后在AssertionError: No labels found in D:/zyy/Tailings_ponds/model/mydata\labels\train.这里报错

Additional

No response

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions