FedML-AI / FedML-AI/FedML

运行fedml.run_simulation()时就会出现TypeError: bind_simulation_device() takes 2 positional arguments but 3 were given

Open
#1,777 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
4.1k
Forks
765
PR merge metrics
No merged PRs in 30d

Description

![image](https://github.com/FedML-AI/FedML/assets/41562415/f65c3e10-6ea8-442e-acfe-5fd409bcdf86)

fedml.run_simulation()
File "/root/miniconda3/envs/fedml-3.10/lib/python3.10/site-packages/fedml-0.8.13.post2-py3.10.egg/fedml/launch_simulation.py", line 16, in run_simulation
args = fedml.init()
File "/root/miniconda3/envs/fedml-3.10/lib/python3.10/site-packages/fedml-0.8.13.post2-py3.10.egg/fedml/__init__.py", line 156, in init
mlops.init(args, should_init_logs=should_init_logs)
File "/root/miniconda3/envs/fedml-3.10/lib/python3.10/site-packages/fedml-0.8.13.post2-py3.10.egg/fedml/mlops/__init__.py", line 15, in init
mlops.init(args, should_init_logs=should_init_logs)
File "/root/miniconda3/envs/fedml-3.10/lib/python3.10/site-packages/fedml-0.8.13.post2-py3.10.egg/fedml/core/mlops/__init__.py", line 126, in init
MLOpsStore.mlops_bind_result = bind_simulation_device(args, api_key, args.config_version)
TypeError: bind_simulation_device() takes 2 positional arguments but 3 were given

请问该怎么解决

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.