Coder Social home page Coder Social logo

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

buaaYYC avatar buaaYYC commented on May 27, 2024
运行fedml.run_simulation()时就会出现TypeError: bind_simulation_device() takes 2 positional arguments but 3 were given

from fedml.

Comments (4)

Norsen-Miles avatar Norsen-Miles commented on May 27, 2024

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.

from fedml.

buaaYYC avatar buaaYYC commented on May 27, 2024

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
image

from fedml.

Norsen-Miles avatar Norsen-Miles commented on May 27, 2024

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.

from fedml.

xuwGnbo avatar xuwGnbo commented on May 27, 2024

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
image

from fedml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.