-
-
Notifications
You must be signed in to change notification settings - Fork 786
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
运行fedml.run_simulation()时就会出现TypeError: bind_simulation_device() takes 2 positional arguments but 3 were given #1777
Comments
Hi pal! This error might be related to the "fedml_config.yaml" in your current folder, you can check for more precise content from Single process example for FedML . However, due to the absence of details, no further suggestions can be given. You'd better provide more information about your under-testing procedure. BTW, did you get the source-code from csdn? The older fedml version from csdn platform is not approprite for the latest package. |
Tanks,https://doc.fedml.ai/federate/simulation/examples/sp_fedavg_mnist_lr_exampleThere is no file in this path anymore.The latest code I pulled directly from github |
Oh! You may copy the link to a newpage, the URL from github won't direct it to the correct address. Update: The link is available now, my fault. |
FedML/python/fedml/core/mlops/init.py#L128 The parameters passed by the function call here is inconsistent with the actual parameters defined at FedML/python/fedml/core/mlops/init.py#L1235 |
我也出现了这个问题 请问是怎么解决的呢 |
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
请问该怎么解决
The text was updated successfully, but these errors were encountered: