PaddlePaddle/PaddleSeg

AttributeError: module 'cv2.dnn' has no attribute 'DictValue'

tsongsun opened this issue · 2 comments

问题确认 Search before asking

Bug描述 Describe the Bug

按照官方文档安装paddlepaddle和EISeg后,在虚拟环境中启动EISeg失败。报错:AttributeError: module 'cv2.dnn' has no attribute 'DictValue'

复现环境 Environment

Windows
python 3.8
paddlepaddle==2.6.1 cpu

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!

pip install eiseg我也是这个问题。 后面git clone了,官网上漏了一句,还要安装 PaddleSeg\EISeg 下的 requirements.txt

我安装requirements.txt之后还有这个问题