Skip to content

TypeError: tuple indices must be integers or slices, not str FedAVGAggregator.py #882

@lyydd

Description

@lyydd

\fedml\simulation\mpi\fedavg\FedAVGAggregator.py", line 170, in test_on_server_for_all_clients
metrics["test_correct"],
TypeError: tuple indices must be integers or slices, not str

Activity

changed the title [-]FedAVGAggregator.py[/-] [+]TypeError: tuple indices must be integers or slices, not str FedAVGAggregator.py[/+] on Apr 14, 2023
fedml-dimitris

fedml-dimitris commented on Oct 25, 2023

@fedml-dimitris
Contributor

@lyydd Please provide a walkthrough to regenerate the error on our end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @lyydd@fedml-dimitris

        Issue actions

          TypeError: tuple indices must be integers or slices, not str FedAVGAggregator.py · Issue #882 · FedML-AI/FedML