#5155 在线推理示例代码问题

Closed
created 3 months ago by wangj · 2 comments
wangj commented 3 months ago
在线推理示例代码,目前有两种写法: 一、正式环境的写法。访问模型文件用的绝对路径 二、c2net库的写法。用户代码里有调prepare()方法 example_one/app.py按写法二。 example_two/app.py、example_three/app.py都还是按写法一。
wangj added this to the V20240116 milestone 3 months ago
wangj added the
need review
label 3 months ago
liuzx was assigned by wangj 3 months ago
tanglj was assigned by wangj 3 months ago
zhoupzh was assigned by wangj 3 months ago
wangj commented 3 months ago
Owner
经 @zhoupzh 确认, "示例1,3都是按照第二种方法, 示例2是因为模型目前不支持多文件夹的方式把模型打包成数据集使用了,并且目前在线推理的数据集是后台脚本固定在了/code 根目录下和app.py 启动文件在同级使用的是相对路径,示例2要保持一致后面要虎鲸在线推理改启动脚本再统一一下。"
wangj commented 3 months ago
Owner
经产品确认,先维持现状。
wangj closed this issue 3 months ago
wangj added the
wontfix
label 3 months ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.