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

通过API unbind 和unload #113

Closed
turkeymz opened this issue Jul 29, 2021 · 3 comments
Closed

通过API unbind 和unload #113

turkeymz opened this issue Jul 29, 2021 · 3 comments

Comments

@turkeymz
Copy link

请问有没有unbind 和unload的API文档。
暂时我只找到总fate-serving-admin页面上按钮点击,但我想类似load的那样,通过API来操作

@GentleWang1011
Copy link
Contributor

在README.md中有document的超链接,里面有【如何加载模型及验证】板块,可以点进去详细看下能不能解决您的疑问

@hqsh
Copy link

hqsh commented Mar 10, 2022

您好,你能否跑通一个 fate-serving 的模型?我用官方 demo 跑,预测结果总是 score 0(https://github.com/FederatedAI/FATE-Serving/issues/138)。

如果您能跑通,能否分享一下您的模型训练、发布相关 pipeline 代码,或者命令行 dsl、conf 方式也可以?

该问题困扰了很久,所以冒昧打扰了。感谢!

@turkeymz
Copy link
Author

您好,你能否跑通一个 fate-serving 的模型?我用官方 demo 跑,预测结果总是 score 0(https://github.com/FederatedAI/FATE-Serving/issues/138)。

如果您能跑通,能否分享一下您的模型训练、发布相关 pipeline 代码,或者命令行 dsl、conf 方式也可以?

该问题困扰了很久,所以冒昧打扰了。感谢!

我用的是鸢尾花数据集,把花瓣和花萼拆开了。然后预测是随便造数据的。
这是我的dsl:
{
"components": {
"dataio_10000035": {
"input": {
"data": {
"data": [
"reader_0.data"
]
}
},
"isML": false,
"module": "DataIO",
"output": {
"data": [
"data"
],
"model": [
"model"
]
}
},
"reader_0": {
"isML": false,
"module": "Reader",
"output": {
"data": [
"data"
],
"model": [
"model"
]
}
},
"intersection_24353697": {
"input": {
"data": {
"data": [
"dataio_10000035.data"
]
}
},
"isML": false,
"module": "Intersection",
"output": {
"data": [
"data"
]
}
},
"evaluation_18815533": {
"input": {
"data": {
"data": [
"heterolr_51264038.data"
]
}
},
"isML": false,
"module": "Evaluation",
"output": {
"data": [
"data"
],
"model": [
"model"
]
}
},
"heterolr_51264038": {
"input": {
"data": {
"train_data": [
"intersection_24353697.data"
]
}
},
"isML": true,
"module": "HeteroLR",
"output": {
"data": [
"data"
],
"model": [
"model"
]
}
}
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants