You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<采用仿真模式,参照https://www.secretflow.org.cn/zh-CN/docs/trustedflow/main/quick_start/step3 进行数据授权,报如下错误:
Traceback (most recent call last):
File "/usr/local/bin/cms", line 8, in
sys.exit(cms())
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/cli/cms.py", line 184, in register_data_policy
ctx.obj.create_data_policy(
File "/usr/local/lib/python3.8/dist-packages/sdc/capsule_manager_frame.py", line 489, in create_data_policy
for index in range(len(rule_ids)):
TypeError: object of type 'NoneType' has no len()
具体的cli.yaml配置:
register_data_policy:
scope: default
data_uuid: breast_cancer_bob
grantee_party_ids:
-
- LPSZB6L446NS2P3I3NUCQZEX2SG2EQSJZ2QNXZSE2W56INE7LZ3Q
columns:
-
- id
- mean radius
- mean texture
- mean perimeter
- mean area
- mean smoothness
global_constraints: null
op_constraints_body: null
op_constraints_name:
-
- OP_PSI
- OP_DATASET_SPLIT
- OP_XGB
- OP_PREDICT
- OP_BICLASSIFIER_EVALUATION
rule_ids: null
这里rule_ids要怎么填写,有没有关于数据授权的配置文件修改指定文档?>
<采用仿真模式,参照https://www.secretflow.org.cn/zh-CN/docs/trustedflow/main/quick_start/step3 进行数据授权,报如下错误:
Traceback (most recent call last):
File "/usr/local/bin/cms", line 8, in
sys.exit(cms())
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/local/lib/python3.8/dist-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File "/usr/local/lib/python3.8/dist-packages/cli/cms.py", line 184, in register_data_policy
ctx.obj.create_data_policy(
File "/usr/local/lib/python3.8/dist-packages/sdc/capsule_manager_frame.py", line 489, in create_data_policy
for index in range(len(rule_ids)):
TypeError: object of type 'NoneType' has no len()
具体的cli.yaml配置:
register_data_policy:
scope: default
data_uuid: breast_cancer_bob
grantee_party_ids:
-
- LPSZB6L446NS2P3I3NUCQZEX2SG2EQSJZ2QNXZSE2W56INE7LZ3Q
columns:
-
- id
- mean radius
- mean texture
- mean perimeter
- mean area
- mean smoothness
global_constraints: null
op_constraints_body: null
op_constraints_name:
-
- OP_PSI
- OP_DATASET_SPLIT
- OP_XGB
- OP_PREDICT
- OP_BICLASSIFIER_EVALUATION
rule_ids: null
这里rule_ids要怎么填写,有没有关于数据授权的配置文件修改指定文档?>
技术信息
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0
The text was updated successfully, but these errors were encountered: