-
Notifications
You must be signed in to change notification settings - Fork 993
are we going to support opennmmlab package in flower examples #4521
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
Comments
Just to clarify, you're requesting an example with |
Yes, you create fl-client, and this client will call mmdetection to build up model, prepare related data loader, then you can train the model with flower |
mmdetection depends on the mmengine, but in mmengine, how could you intergrate the fl client with mmengin.runner.run() |
Hi @cam-ai , it should be possible. I'm not familiar with that library but typically you can think of the training stage of each client as a mini-centralised training (only with the data the client owns). This means that it is possible to make use of any training library or training loop design and call it from the client's |
it is close. but i still can not find how did the server control the client learning rate, at least there should be a learning rate callback to adjust learning with epochs, cause everything is encapsulated in mmengine.runner.run() |
Hi @cam-ai, just checking in here. Did you find a way to make it work? |
Hi @cam-ai, thanks again for raising this and sharing your thoughts. As @jafermarq mentioned, it’s definitely possible to integrate libraries like OpenMMLab by wrapping their training logic inside the Regarding your question about server controlling the client learning rate: in Flower, server-driven hyperparameter updates (like changing learning rate across rounds) are typically passed via the On the client side, inside Could you please share if you made this work? |
Describe the type of feature and its functionality.
are we going to support to opennmmlab in future, it is hard for you to get a simple Net(nn.module) in openmmlab,
Describe step by step what files and adjustments are you planning to include.
need some examples for openmmlab usage
Is there something else you want to add?
openmmlab like mmdet or mmdet3d
The text was updated successfully, but these errors were encountered: