FATE icon indicating copy to clipboard operation
FATE copied to clipboard

seems 'remote' attribute is missing in the definition of the class RuntimeInstance in the file FATE/arch/api/__init__.py"

Open cacoderquan opened this issue 7 years ago • 4 comments

File ".../PycharmProjects/FATE/arch/api/federation.py", line 73, in remote return RuntimeInstance.FEDERATION.remote(obj=obj, name=name, tag=tag, role=role, idx=idx) AttributeError: 'NoneType' object has no attribute 'remote'

cacoderquan avatar May 27 '19 12:05 cacoderquan

Could you provide your initialization steps?

I suppose it should be something like this:

from arch.api import eggroll
from arch.api import federation

eggroll.init(job_id, WORK_MODE)
federation.init(job_id, runtime_conf)

where job_id is a string and runtime_conf is a json or dict.

maxwong avatar May 30 '19 08:05 maxwong

I ran the sh ./examples/hetero_logistic_regression/run_logistic_regression_standalone.sh and got the error @maxwong

Plus, we cannot see the log /Users/xiangni/PycharmProjects/FATE/examples/hetero_logistic_regression/../../logs/hetero_logistic_regression_example_standalone_20190531112937/workflow.log: No such file or directory

could you tell me where can we find the log?

cacoderquan avatar May 31 '19 03:05 cacoderquan

Hi @zazd could you provide some information on this issue?

maxwong avatar Jun 11 '19 03:06 maxwong

@cacoderquan is something wrong in nohup under the path: ./examples/hetero_logistic_regression/

zazd avatar Jun 11 '19 03:06 zazd