-
Notifications
You must be signed in to change notification settings - Fork 885
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
Adding advanced_pytorch example #1007
Conversation
Hi @cozek , thanks for this :) we'll review the PR shortly. In the meantime, could you add a reference to the new |
## Reference Issues/PRs Fix adap#1007 ## What does this implement/fix? Explain your changes. The original example send the data and model to device in utils.py but not in client.py, which may give an error.
## Reference Issues/PRs Fix adap#1007 ## What does this implement/fix? Explain your changes. The original example send the data and model to device in utils.py but not in client.py, which may give an error.
Hi @cozek the PR is looking great. Could you just set |
Another thing, each client appears to be downloading the CIFAR10 dataset. This creates problems when launching multiple clients. I suggest moving the download functionality to ./run.sh and simply loading the file later. |
Done. |
@cozek , it's looking good.
You can then keep an eye on your GPU memory usage which hopefully won't be too much. |
Done. |
I'm getting the error above. Maybe you are returning the labels as an integer (original CIFAR). Instead, it must be at |
Hi @cozek, |
…or doing a dry run; client no longer stores model as an attribute
Thanks for the suggestions. Made the changes accordingly. |
@cozek @danieljanes looks good, just server-side evaluation is still in |
Thanks for the PR @cozek & thanks for the review @pedropgusmao 👍 |
Reference Issues/PRs
#803
What does this implement/fix? Explain your changes.
Implements an advaned_pytorch example. Closely duplicates the advanced_tensorflow example.
Any other comments?
I added a
--toy
flag since my machine can't run the full 10 client simulation.Please run the full simulation and let me know how it works. Happy to make any required changes.
I had a notebook for prototyping, removed it. Can add it in a later PR if needed.