FederatedAI / FATE

An Industrial Grade Federated Learning Framework
Apache License 2.0
5.73k stars 1.55k forks source link

请问flow data upload -c [options]命令中的json文件最后一句是什么意思呢 #4423

Closed sweetboxwwy closed 4 months ago

sweetboxwwy commented 2 years ago

测试用的数据是breast_homo_guest.csv,breast_homo_host.csv,breast_homo_test.csv { "file": "/data/projects/fate/wangwy/breast_homo_guest.csv", "id_delimiter": ",", "head": 1, "partition": 10, "namespace": "experiment", "table_name": "breast_homo_guest", "storage_engine": "EGGROLL" } 每次加上这一句"storage_engine": "EGGROLL"程序就会报错OSError: EGGROLL_HOME is not set,去掉这句就不会报错

而且使用docker方式部署单机版并不能成功运行fate_flow_client.py程序,参考https://github.com/FederatedAI/FATE/blob/master/deploy/standalone-deploy/README.zh.md

会报错no module named "eggroll.core",而且/data/projects/fate/fateflow/python下面根本没有fate_arch和eggroll这些,把他们复制过来才可以运行成功

mgqa34 commented 2 years ago

看起来您这边部署的是standalone(单机版),单机版不是基于eggroll存储引擎的,将storage_engine这个keyword删掉就行

sweetboxwwy commented 2 years ago

看起来您这边部署的是standalone(单机版),单机版不是基于eggroll存储引擎的,将storage_engine这个keyword删掉就行

是的没错,删除那个keyword确实可以,但是后面我用了一条命令还是报错了

首先是分别flow data upload 了三个数据集breast_homo_guest.csv,breast_homo_host.csv,breast_homo_test.csv

然后再用这个命令

flow job submit -c /data/projects/fate/examples/dsl/v2/homo_logistic_regression/homo_lr_train_eval_conf.json -d /data/projects/fate/examples/dsl/v2/homo_logistic_regression/homo_lr_train_eval_dsl.json

报错了

github-actions[bot] commented 4 months ago

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] commented 4 months ago

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.