Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: bind_simulation_device() takes 2 positional arguments but 3 were given #165

Open
Yanbing-Ciel opened this issue Nov 29, 2024 · 0 comments

Comments

@Yanbing-Ciel
Copy link

Dear FedML Development Team,

Thank you for providing such an incredible framework for federated learning.

I recently encountered an issue when running the example in the FedMl Documentation. The error suggests that the bind_simulation_device() function was called with three arguments, while its definition only accepts two.

Here is the detailed traceback:

Traceback (most recent call last):
File "C:\Users\yangy\PycharmProjects\pythonProject4\test.py", line 6, in
fedml.run_simulation()
File "C:\Users\yangy.conda\envs\fedml_env\lib\site-packages\fedml\launch_simulation.py", line 16, in run_simulation
args = fedml.init()
File "C:\Users\yangy.conda\envs\fedml_env\lib\site-packages\fedml_init_.py", line 160, in init
mlops.init(args, should_init_logs=should_init_logs)
File "C:\Users\yangy.conda\envs\fedml_env\lib\site-packages\fedml\mlops_init_.py", line 15, in init
mlops.init(args, should_init_logs=should_init_logs)
File "C:\Users\yangy.conda\envs\fedml_env\lib\site-packages\fedml\core\mlops_init_.py", line 131, 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant