PaddlePaddle / PaddleSeg

Easy-to-use image segmentation library with awesome pre-trained model zoo, supporting wide-range of practical tasks in Semantic Segmentation, Interactive Segmentation, Panoptic Segmentation, Image Matting, 3D Segmentation, etc.
https://arxiv.org/abs/2101.06175
Apache License 2.0
8.67k stars 1.68k forks source link

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

Open tsongsun opened 6 months ago

tsongsun commented 6 months ago

问题确认 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

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

virtual8888 commented 5 months ago

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

fanfan838012328 commented 5 months ago

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