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

eiseg要求后缀名pdiparams比原来的多了字母i #113

Open
jzp520520 opened this issue Apr 26, 2022 · 1 comment
Open

eiseg要求后缀名pdiparams比原来的多了字母i #113

jzp520520 opened this issue Apr 26, 2022 · 1 comment
Labels
bug Something isn't working solved Developers think this issue is already solved

Comments

@jzp520520
Copy link

bug描述
导入模型文件,软件要求的后缀名pdiparams,比下载的模型文件后缀名多了字母i,后缀名不带i的文件无法访问到,若将不带i的文件后缀改成带i,导入eiseg,则eiseg闪退。python提示:
Traceback (most recent call last):
File "C:\Users\89755\PycharmProjects\pythonProject\venv\Lib\site-packages\eiseg\app.py", line 56, in run
success, res = self.controller.setModel(self.param_path, False)
File "C:\Users\89755\PycharmProjects\pythonProject\venv\Lib\site-packages\eiseg\controller.py", line 103, in setModel
raise Exception(f"未在 {model_path} 找到模型文件")
Exception: 未在 D:/human_matting-resnet34_vd.pdmodel 找到模型文件

复现方法
我们可以如何操作重现这个bug
如:

image

运行环境(请尽量填写,这可以帮助我们定位问题):

  • 系统: Windows10
  • 安装方式:pip
  • 软件版本:eiseg0.5.0 Paddleseg 2.5.0 PaddlePaddle 2.2.2 python 3.9.7
@jzp520520 jzp520520 added the bug Something isn't working label Apr 26, 2022
@geoyee
Copy link
Member

geoyee commented Apr 26, 2022

你好。pdiparams是静态图模型,现在EISeg需要加载静态图模型,请在这里的地址进行下载

image

@geoyee geoyee added the solved Developers think this issue is already solved label Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working solved Developers think this issue is already solved
Projects
None yet
Development

No branches or pull requests

2 participants