FATE icon indicating copy to clipboard operation
FATE copied to clipboard

Error reported when running "Resnet example" example

Open magic-hya opened this issue 1 year ago • 4 comments

Describe the bug Error reported when running "Resnet example" example.

Other issuses also raised questions #5213

To Reproduce Steps to reproduce the behavior:

  1. Go to doc/tutorial/pipeline/nn_tutorial/Resnet-example.ipynb
  2. Run

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image

image

RuntimeError: can not found table name: cifar10 namespace: experiment

Desktop (please complete the following information): kubefate 1.11.2

magic-hya avatar Dec 25 '23 07:12 magic-hya

The fateflow is not running, make sure that you start the fateflow service

talkingwallace avatar Dec 25 '23 13:12 talkingwallace

The service in the "fateflow" image was started, but now I have also started the service in the "client" image, and it is still the same error. Normal tasks can load data, which is the same error as "pipeline. bind_table".

magic-hya avatar Dec 26 '23 02:12 magic-hya

Hi, did you bind the path of your cifar dataset before running?

talkingwallace avatar Dec 28 '23 02:12 talkingwallace

Hi, did you bind the path of your cifar dataset before running?

I used the Notebook example for code binding, and I am not sure if there are any other operations outside of the Notebook code.

pipeline = PipeLine().set_initiator(role='guest', party_id=guest).set_roles(guest=guest, host=host,
                                                                            arbiter=host)
data_0 = {"name": "cifar10", "namespace": "experiment"}
data_path = fate_project_path + '/examples/data/cifar10/train'
pipeline.bind_table(name=data_0['name'], namespace=data_0['namespace'], path=data_path)
pipeline.bind_table(name=data_0['name'], namespace=data_0['namespace'], path=data_path)
reader_0 = Reader(name="reader_0")
reader_0.get_party_instance(role='guest', party_id=guest).component_param(table=data_0)
reader_0.get_party_instance(role='host', party_id=host).component_param(table=data_0)

magic-hya avatar Dec 28 '23 03:12 magic-hya