Skip to content
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 training jupyter notebooks #6

Open
3 of 6 tasks
paganpasta opened this issue Jul 28, 2022 · 7 comments
Open
3 of 6 tasks

Adding training jupyter notebooks #6

paganpasta opened this issue Jul 28, 2022 · 7 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@paganpasta
Copy link
Owner

paganpasta commented Jul 28, 2022

Adding a sample training notebook (preferably on each network) on Imagenette demonstrating some different techniques. For example, different optimizers, transfer learning, distillation etc.
Open to discussions!

  • Image Classification
  • Transfer Learning
  • Generating Adversarial Examples
  • Visualising Attentions (Vision Transformer)
  • Class activation maps
  • Training a GAN
  • Training a Diffusion Model
@paganpasta paganpasta added enhancement New feature or request good first issue Good for newcomers labels Jul 28, 2022
@oarriaga
Copy link

oarriaga commented Aug 1, 2022

@paganpasta I think this is a good idea. However, what would you think about hosting the notebooks somewhere else. Or maybe as a documentation page (a better version of something like this https://oarriaga.github.io/paz/getting-started/object_detection_pipeline/). My general impression is that hosting jupyter-notebooks in the same source code repo can can quickly pollute git history, forever increasing the size of the repo.

@paganpasta
Copy link
Owner Author

Hey @oarriaga,

For notebooks I was planning to integrate them into documentation as you did and having a link to colab for the user to execute the same.

@oarriaga
Copy link

oarriaga commented Aug 1, 2022

Yeah that would be great! I like the idea of the colab too :)

@riven314
Copy link

Hi @paganpasta
I would like to contribute to adding "Training a GAN" notebook
do you have any reference code (e.g. training GAN in JAX) that I can take a look before I get started?
I found this example, not sure if it's a good idea to port this into eqxvision

@paganpasta
Copy link
Owner Author

Hey @riven314 thanks for the interest!

I don't have readily available resources for training a GAN in JAX. However, you can also take a look at existing PyTorch resources on this topic as well. The only thing I'd look for in the implementation is to gain more than a simple understanding of GAN. What I mean is that, already a lot of resources and tutorials demonstrate training of a simple GAN on simple datasets. There is hardly anything new to be added. Alternatively, you can choose to demonstrate a tricky workaround which the user might not be aware of in eqxvision and/or equinox. Just as an example, optax.multi_transform for combining different optimisers.

@riven314
Copy link

riven314 commented Sep 13, 2022

Hi @paganpasta thanks for your reply
Do you think this PyTorch DCGAN example good enough to be ported here?
Its dataset, model architecture, and training loop seems straight forward so I think it's appropriate to be adopted as an example.

@paganpasta
Copy link
Owner Author

Yes, please go ahead!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants