kubefate部署过程中容易遇到的几个问题

下载docker镜像

1、wget https://webank-ai-1251170195.cos.ap-guangzhou.myqcloud.com/fate_1.4.0-images.tar.gz
2、查看镜像是否成功
docker load -i fate_1.4.0-images.tar.gz
3、1. 下载并解压kubefate-docker-compose
下载并解压Kubefate1.4的kubefate-docker-compose.tar.gz资源包curl –OL https://github.com/FederatedAI/KubeFATE/releases/download/v1.4.0/kubefate-docker-compose.tar.gz
4、解压compose
tar -xzf kubefate-docker-compose.tar.gz
5、之后根据fate官网进入docker-deploy目录操作即可
fate官网:https://github.com/FederatedAI/FATE)

Warning:

1、如果在linux服务器上装的话(比如:ubuntu用户,不是root),需要修改user和dir及服务器的地址:
在这里插入图片描述

2、执行sudo bash docker_deploy.sh all 时报错
Error starting userland proxy: listen tcp 0.0.0.0:2049: bind: address already in use
方法:一般是8869,8000两个端口报错(https://stackoverflow.com/questions/55535967/error-starting-userland-proxy-listen-tcp-0-0-0-02049-bind-address-already-in)
在这里插入图片描述
3、在线测试的另外一种形式
通过curl发送以下信息到
curl -X POST -H ‘Content-Type: application/json’ -i ‘http://10.1.40.215:8059/federation/v1/inference’ --data ‘{“head”: {“serviceId”: “test”},“body”: {“featureData”: {“x0”: 0.254879,“x1”: -1.046633,“x2”: 0.209656,“x3”: 0.074214,“x4”: -0.441366,“x5”: -0.377645,“x6”: -0.485934,“x7”: 0.347072,“x8”: -0.287570,“x9”: -0.733474},“sendToRemoteFeatureData”: {“id”: “123”}}}’

在页面中打开fateboard,只需复制shell脚本中弹出的网址:
在这里插入图片描述
并把fateboard修改为服务器的ip,比如:http://10.1.40.215:8080/index.html#/details?job_id=202010300627507961067&role=guest&party_id=215&from=Job%20overview&page=1

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值