Skip to content

  • 体验新版
    • 正在加载...
  • 登录
  • PaddlePaddle
  • PaddleX
  • Issue
  • #282

P
PaddleX
  • 项目概览

PaddlePaddle / PaddleX

通知 138
Star 4
Fork 0
  • 代码
    • 文件
    • 提交
    • 分支
    • Tags
    • 贡献者
    • 分支图
    • Diff
  • Issue 43
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 5
  • Wiki 0
    • Wiki
  • 分析
    • 仓库
    • DevOps
  • 项目成员
  • Pages
P
PaddleX
  • 项目概览
    • 项目概览
    • 详情
    • 发布
  • 仓库
    • 仓库
    • 文件
    • 提交
    • 分支
    • 标签
    • 贡献者
    • 分支图
    • 比较
  • Issue 43
    • Issue 43
    • 列表
    • 看板
    • 标记
    • 里程碑
  • 合并请求 5
    • 合并请求 5
  • Pages
  • 分析
    • 分析
    • 仓库分析
    • DevOps
  • Wiki 0
    • Wiki
  • 成员
    • 成员
  • 收起侧边栏
  • 动态
  • 分支图
  • 创建新Issue
  • 提交
  • Issue看板
已关闭
开放中
Opened 8月 21, 2020 by saxon_zh@saxon_zhGuest

inference转hub出错

Created by: ClassmateXiaoyu

你好,我使用paddlex训练了一个模型,并已经生成了paddlex inference model,按照说明文档使用hub(paddlehub版本为1.8.1) convert将inference转hub时,出现如下报错:

hub convert --model_dir D:/paddlex_workspace/modules/P0005-T0031_export_model/inference_model --module_name bba_classify
2020-08-21 11:41:31,338-INFO: Instantiated empty configuration.
HDFS initialization failed, please check if .hdfscli,cfg exists.
Traceback (most recent call last):
  File "d:\program files (x86)\python\python37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "d:\program files (x86)\python\python37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "D:\Program Files (x86)\Python\Python37\Scripts\hub.exe\__main__.py", line 7, in <module>
  File "d:\program files (x86)\python\python37\lib\site-packages\paddlehub\commands\hub.py", line 64, in main
    command.execute(argv[1:])
  File "d:\program files (x86)\python\python37\lib\site-packages\paddlehub\commands\hub.py", line 51, in execute
    return command.execute(argv[1:])
  File "d:\program files (x86)\python\python37\lib\site-packages\paddlehub\commands\convert.py", line 149, in execute
    self.create_serving_demo_py()
  File "d:\program files (x86)\python\python37\lib\site-packages\paddlehub\commands\convert.py", line 102, in create_serving_demo_py
    tmpl = Template(template_file.read())
UnicodeDecodeError: 'gbk' codec can't decode byte 0x80 in position 493: illegal multibyte sequence
指派人
分配到
无
里程碑
无
分配里程碑
工时统计
无
截止日期
无
标识: paddlepaddle/PaddleX#282
渝ICP备2023009037号

京公网安备11010502055752号

网络110报警服务 Powered by GitLab CE v13.7
开源知识
Git 入门 Pro Git 电子书 在线学 Git
Markdown 基础入门 IT 技术知识开源图谱
帮助
使用手册 反馈建议 博客
《GitCode 隐私声明》 《GitCode 服务条款》 关于GitCode
Powered by GitLab CE v13.7