PaddleSeg icon indicating copy to clipboard operation
PaddleSeg copied to clipboard

[General Issue]paddleseg可否用cityscapes数据集的测试(test)集对训练后的模型进行评估,得到MIOU等指标,目前看只支持对验证集使用。

Open huangwan-jiayi opened this issue 3 years ago • 4 comments

Thanks for your issue. To help us solve the issue better, please provide following information:

  1. PaddleSeg version: (please specify the branch as well,e.g. PaddleSeg release/2.3)
  2. PaddlePaddle version: (e.g. PaddlePaddle 2.1.0)
  3. Operation system: (e.g. Linux/Windows/MacOS)
  4. Python version: (e.g. Python3.6/7/8)
  5. CUDA/cuDNN version: (e.g. CUDA10.2/cuDNN 7.6.5)
  6. Additional context: (Add any other context about the problem)

欢迎您反馈PaddleSeg使用问题,辛苦您提供以下信息,方便我们快速定位和解决问题:

  1. PaddleSeg版本:(请提供版本号和分支信息,如PaddleSeg release/2.3)
  2. PaddlePaddle版本:(如PaddlePaddle 2.1.0)
  3. 操作系统信息:(如Linux/Windows/MacOS)
  4. Python版本号:(如Python3.6/7/8)
  5. CUDA/cuDNN版本:( 如CUDA10.2/cuDNN 7.6.5等)
  6. 其他内容: (增加其他与问题相关的内容)

huangwan-jiayi avatar Jul 11 '22 06:07 huangwan-jiayi

在cityscape数据集调用时将mode设置为test,具体代码可以参考https://github.com/PaddlePaddle/PaddleSeg/blob/release/2.5/paddleseg/datasets/cityscapes.py#L51

haoyuying avatar Jul 11 '22 08:07 haoyuying

您好,在config文件里将mode设置为test了,但是可能是因为数据集里test集没有标签,所以报这个错: image 这样的话该如何解决呢?

huangwan-jiayi avatar Jul 11 '22 15:07 huangwan-jiayi

必须要有test label的标签,不然要怎么计算iou呢

haoyuying avatar Jul 12 '22 06:07 haoyuying

必须要有test label的标签,不然要怎么计算iou呢

我的意思就是,怎么才能获得cityscapes数据集的test集的label呢?

huangwan-jiayi avatar Jul 12 '22 14:07 huangwan-jiayi

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Dec 10 '22 17:12 github-actions[bot]