FATE icon indicating copy to clipboard operation
FATE copied to clipboard

使用docker安装fate后,如何部署后端flow呢,哪里有具体的参考文档呢

Open Net-defense opened this issue 1 year ago • 9 comments

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

Net-defense avatar Oct 26 '24 16:10 Net-defense

fate是在docker上装的(其他的方法试过了,都行不通),后端flow的文档显示是拿pypl装的,是不是说明前端board在docker上控制,而flow在pypl装的fate_env中控制的呢?

Net-defense avatar Oct 26 '24 16:10 Net-defense

请教个问题 使用docker部署fate,跟着官网的步骤部署,可以访问到前端端board,但是后端flow不知怎么处理,官网文档是用pypl装的,两个都下载好了,不知道怎么进行交互?flow的接口也不知道怎么测试?那postman可以测试后端flow接口嘛?

Net-defense avatar Oct 29 '24 10:10 Net-defense

用的是docker-compose 部署的么,或者用的是standalone_fate_docker_image_{version}? docker-compose 部署文档参考 https://github.com/FederatedAI/KubeFATE/blob/dev-2.2.0/docker-deploy/README_zh.md standalone_fate_docker_image_{version} 参考 https://github.com/FederatedAI/FATE/blob/master/deploy/standalone-deploy/README.zh.md

另外使用部署包进行部署的,都是完整的服务,有board,就会有flow的

yx0090sh avatar Oct 31 '24 08:10 yx0090sh

用的是docker-compose 部署的么,或者用的是standalone_fate_docker_image_{version}? docker-compose 部署文档参考 https://github.com/FederatedAI/KubeFATE/blob/dev-2.2.0/docker-deploy/README_zh.md standalone_fate_docker_image_{version} 参考 https://github.com/FederatedAI/FATE/blob/master/deploy/standalone-deploy/README.zh.md

另外使用部署包进行部署的,都是完整的服务,有board,就会有flow的

docker-compose 部署了一个,测试样例可以过,浏览器也能访问前端board,但是后端flow用postman怎么测试(9380端口 怎么拼接URL)都是404 docker装了一个standalone_fate_docker_image_2.2.0,在拉取公共镜像时出现超时或无此镜像等问题,通过镜像包安装后,跟着文档后可以跑通测试项,浏览器也能访问前端board,但是后端flow无法进行测试,使用postman对9380端口进行测试显示 无法发送请求,9360和9370端口也试过了,都无法发送请求 总之,后端flow的问题依然没有解决

Net-defense avatar Oct 31 '24 13:10 Net-defense

能跑通测试项,flow的部署就没有问题, 你需要flow具体做些什么内容呢

yx0090sh avatar Nov 01 '24 01:11 yx0090sh

能跑通测试项,flow的部署就没有问题, 你需要flow具体做些什么内容呢 利用flow上传自己的数据,然后训练,返回训练好的数据并下载

Net-defense avatar Nov 01 '24 01:11 Net-defense

https://github.com/FederatedAI/FATE/blob/master/doc/2.0/fate/quick_start.md 参考3,4,5 上传数据,训练,预测

yx0090sh avatar Nov 01 '24 02:11 yx0090sh

https://github.com/FederatedAI/FATE/blob/master/doc/2.0/fate/quick_start.md 参考3,4,5 上传数据,训练,预测

如果我想用flow做后端,配合我自己写的前端,来实现上传数据,训练,预测。我的后端该怎么处理呢?可以使用postman来测试后端接口吗?我试过了各种版本和安装方法都没有测通flow的接口

Net-defense avatar Nov 01 '24 10:11 Net-defense

以2.2.0为例
上传数据接口: 192.168.0.2:/component/upload 训练接口: 192.168.0.2:/submit 详情看 https://github.com/FederatedAI/FATE-Flow/tree/main/python/fate_flow/apps/client
flow流程需要用的接口大都在这

yx0090sh avatar Nov 04 '24 01:11 yx0090sh

This issue has been marked as stale because it has been open for 365 days with no activity. If this issue is still relevant or if there is new information, please feel free to update or reopen it.

github-actions[bot] avatar Nov 04 '25 02:11 github-actions[bot]

This issue was closed because it has been inactive for 1 days since being marked as stale. If this issue is still relevant or if there is new information, please feel free to update or reopen it.

github-actions[bot] avatar Nov 05 '25 02:11 github-actions[bot]