Comments (3)
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
orevaluate
. - 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.
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.
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)
- Facing issue with Flower Simulation with ResNet18 and MNIST dataset HOT 3
- Out of Memory while learning on Cifar with 100 clients HOT 1
- macOS: pip install flwr[simulation] uninstalls flwr 1.8.0 and installs 0.16.0 HOT 6
- RayActorClientProxy.get_parameters() missing 1 required positional argument: 'group_id'
- How to let the client train using the initial model provided by the server?
- How to get consistent order of spawned clients between multiple runs with Flower's simulation?
- flutter support HOT 1
- how to show the full args in task page? HOT 1
- Perform strategy in the sampled clients and its subset at the same time
- Method Doesn't Exist HOT 3
- ConnectionError: Couldn't reach 'cifar10' on the Hub (ConnectionError)
- How can I disable federated evaluation and use only centralized evaluation? HOT 1
- Question about the type of parameter in the parameter conduction process of my model
- `num_cpus` for ray backend not respected in `run_simulation` HOT 7
- How to solve hydra. errors Error reported for OverrideParseException: LexerNoViableAltException: \ HOT 3
- Could not run FedPer Baseline HOT 8
- Possible to Dynamically Switch Federated Learning Algorithms Based on Performance? HOT 1
- Bug in server_address (flower/examples/quickstart-pytorch/)
- How about onnxruntime support?
- Can I specify the resources for each client when running simulation?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flower.