Code Monkey home page Code Monkey logo

Comments (5)

jaehunro avatar jaehunro commented on May 18, 2024 1

Just wanted to post an update.
I just merged in #266 that adds the option for matching the preprocessing logic done by TFF.
I also added an example linear model for CIFAR-100 in #265 to show what's needed to check in and contribute a model.

I've also filed a separate issue #268 to add the ResNet-18 model for CIFAR-100 that's actually used in the "Adaptive Federated Optimization" paper. The issue details steps, requirements, etc.
Contributions are very welcomed and encouraged!

from fedjax.

jaehunro avatar jaehunro commented on May 18, 2024

Hi!

Thanks for reaching out to us about this.

  1. The model for CIFAR100 was a work in progress but we decided to put it on hold until there was an explicit request for it. Our initial plan was to add a simple linear model that provides a complete example of all the requirements (e.g. baseline accuracy, hyperparameter configs, etc.) needed to add a model so that other collaborators could follow it as a guideline for contributing. If you're interested, we can work on adding this example PR for a simple model so that you can follow it as a guideline for contributing.
  2. We actually are downloading the dataset from the same source as TFF. The only difference is that we apply additional preprocessing on top of the source data following pytorch-cifar. If you don't want to apply this preprocessing, you could just manually run fedjax.datasets.cifar100.load_split.

from fedjax.

HanGuo97 avatar HanGuo97 commented on May 18, 2024

Got it, thanks for letting me know!

from fedjax.

jaehunro avatar jaehunro commented on May 18, 2024

No problem!

I'm also working on some PRs to add an example model for CIFAR-100 and add an option to match the preprocessing done by TFF according to their baseline task tff.simulation.baselines.cifar100.create_image_classification_task

Hopefully those will help!

from fedjax.

HanGuo97 avatar HanGuo97 commented on May 18, 2024

Oh nice, good to hear -- looking forward to it!

from fedjax.

Related Issues (17)

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.