GithubHelp home page GithubHelp logo

Comments (3)

danieljanes avatar danieljanes commented on June 11, 2024

Hi @zhangtian-3841 , thanks for reaching out.

There are several ways to achieve this.

  • The easiest way might be to add the shape of the dataset to the dict returned from fit or evaluate.
  • If the shapes are needed on the server before the training starts, you could use a custom Strategy that sends an empty message to all clients and asks them to return the shapes of their local datasets
  • [Experimental] Flower Next supports sending completely custom messages to clients, but the capability is only available in flwr-nightly and not documented yet

from flower.

zhangtian-3841 avatar zhangtian-3841 commented on June 11, 2024

Hi @danieljanes ,thank you for response.
I will try to implement the functionality as you suggested, but How do I use flwr-nightly to customize the strategy, send an empty message to all clients, and request them to return the shape of their local datasets.
I look forward to you adding the usage of Flower Next to the Flower Framework Documentation.
Expressing sincere thanks to you.

from flower.

s-hariy avatar s-hariy commented on June 11, 2024

Dear @danieljanes,

I have a follow up question to this. Let's say we send information to server through below method:

"- The easiest way might be to add the shape of the dataset to the dict returned from fit or evaluate."

Where do we see them on the server and Is it possible to do some processing on them? To give you context, I need to send numerical embedding of images to server from each client. We are trying to do some processing on them after that. Kindly help

Thank you

from flower.

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.