Skip to content

Tutorial-Part7 Input to syft.FederatedDataset should be a list #1988

@tushar-semwal

Description

@tushar-semwal

While following the Part-7 tutorial, I tried creating the federatedDataset, however an error popped up. see below:
Capture
So, I checked the source code: syft.frameworks.torch.federated.dataset and found that the FederatedDataset class expects a list. I (trying my luck) did this:
Capture1
The error was expected. It means there could be a bug. The dataset in datasets should have a "data" attribute. There is a data attribute in boston_data['alice'][0].data but not in boston_data.data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions