Pythae: Unifying Generative Autoencoder Implementations in PyTorch
Key Takeaways
Pythae library provides a unified implementation of generative autoencoder models in PyTorch, allowing users to easily implement and train various models with different sampling techniques and neural network architectures. The library offers a reproducible research environment and flexible code structure, making it accessible for users to adapt to different use cases and frameworks.
Full Transcript
so hi everyone I'm Kim master of deck and today we represent you my python library pite that you need files generator to encourage implementations in pytosh well first what's the generality auto encoder well you may know what the encoders the class of different models that try to map complex input data into a much lower dimensional space called the Latin space and so the main idea is to learn a Latin representation so lower dimensional representation of those input data generative using a sampling distribution and that something distribution can be used either during training as for the variational training course or after training as for the regularized auto encoders but well why did we create p-day so well first as you may know existing implementations of the original papers may be difficult to adapt over use cases be different Frameworks or longer maintained and so pite has a brick like structure that allows users to use different models with different sampling techniques that neural network architectures and training schemes on their own data pretty easily second pitay provides you with a reproducible research environment so most of the models that are implemented in pite were actually able to reproduce the original paper results finally the code was thought to be as flexible as possible and as accessible as possible and so we will find on the GitHub an online documentation and the library is also Illustrated through different tutorials this is the structure of the code so basically this is a really brick light structure so on the left you you have the models that you can choose and you can Define your encoder and decoder architecture in the middle you've got the trainers so trainers also referred to be as flexible as possible because you can Define your optimizers schedulers and callbacks and on the right you've got the samples that you can choose to generate data from a trend uh General to encoder and you may find also other features such as experiment monitoring tools such as 1db Comet ML and ml flow that has been integrated to uh Pita and you can also share your train model through the organ phase app so now let's have a look to the API of the code so let's say that I want to train a version to encoder with pite on my own data so the first thing that I need to do is to Define architecture so it can be done pretty easily using the base encoder and base decoder class so I import them and I create two other classes my encoder and my decoder where basically I specify my neural network architecture then I instantiate those classes and I can launch training to run to training and different things so the first thing that I need is to define a training configuration this is basically what I specified the number of epoch the learning rate and the batch size that I want to use then I Define a model configuration here a VA configuration and I can instant set my VA so to instantiate it I pass the model configuration as argument but I also passed the encoder and decoder that I've just built before then I can instantiate a training Pipeline with the training configuration and the model and I can launch the training Pipeline on my own data in the end once the model is trained I can reload it using the auto modern class pretty easily and then I can use whatever sampler I like to generate new data from that train model so in that example this is a quotient mixture uh sampler so basically all you have to do is to Define your sampling configuration and you can instant set the generation Pipeline and you can launch a pipeline by specifying the number of samples that you want to generate so here you've got the list of the models so actually implemented in Pita so there are 25 models that are currently implemented in the library and most of which why both reproduce the original results uh provided in the papers finally those are different resources that you may need to get ranks on the code so basically the code is available in giftable touch link you will also find an online documentation the library is available in buy buy and can be installed with that command line and I want to stress that that library is also open to contributors so if you want to contribute to your new model a new sampler or simply fix a bug I would be very happy to help you in that direction thank you very much for attention I would be very happy to answer any of your questions if you want
Original Description
Watch Clément Chadebec from INRIA present his virtual talk "Pythae: Unifying Generative Autoencoder Implementations in PyTorch" at PyTorch Conference 2022.
Pythae is a library that implements some of the most common (Variational) Autoencoder models under a unified implementation. In particular, it provides the possibility to perform benchmark experiments and comparisons by training the models with the same autoencoding neural network architecture. The feature make your own autoencoder allows you to train any of these models with your own data and own Encoder and Decoder neural networks. It integrates experiment monitoring tools such wandb and mlflow and allows model sharing and loading from the HuggingFace Hub in a few lines of code.
Visit our website: https://pytorch.org/
Read our blog: https://pytorch.org/blog/
Follow us on Twitter: https://twitter.com/PyTorch
Follow us on LinkedIn: https://www.linkedin.com/company/pyto...
Follow us on Facebook: https://www.facebook.com/pytorch
#PyTorch #ArtificialIntelligence #MachineLearning
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from PyTorch · PyTorch · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
What is PyTorch?
PyTorch
PyTorch Tutorial: A Quick Preview
PyTorch
PyTorch Summer Hackathon 2019
PyTorch
Tips and Tricks on Hacking with PyTorch: A Quick Tutorial by Brad Heintz
PyTorch
PyTorch 1.2 and PyTorch Hub: A Quick Introduction by Soumith Chintala and Ailing Zhang
PyTorch
Torchtext 0.4 with Supervised Learning Datasets: A Quick Introduction by George Zhang
PyTorch
Torchaudio 0.3 with Kaldi Compatibility, New Transforms: A Quick Introduction by Jason Lian
PyTorch
Torchvision 0.4 with Support for Video: A Quick Introduction by Francisco Massa
PyTorch
Introduction to Machine Learning for Developers at F8 2019
PyTorch
Powered by PyTorch at F8 2019
PyTorch
Developing and Scaling AI Experiences at Facebook with PyTorch at F8 2019
PyTorch
New Approaches to Image and Video Reconstruction Using Deep Learning at Facebook at F8 2019
PyTorch
PyTorch Developer Conference 2018: Recap
PyTorch
PyTorch Developer Conference 2018: Keynote & Deep Dive
PyTorch
PyTorch Developer Conference 2018: Production & Research Sessions
PyTorch
PyTorch Developer Conference 2018: Cloud & Academia Sessions
PyTorch
PyTorch Developer Conference 2018: Enterprise, Education, & Future of AI Panel
PyTorch
PyTorch Developer Conference 2019 | Full Livestream
PyTorch
PyTorch Developer Conference 2019: Recap
PyTorch
PyTorch Developer Conference Keynote - Mike Schroepfer
PyTorch
What’s new in PyTorch 1.3 - Lin Qiao
PyTorch
PyTorch Front-End Features: Named Tensors and Type Promotion - Gregory Chanan
PyTorch
Research to Production: PyTorch JIT/TorchScript Updates - Michael Suo
PyTorch
Quantization - Dmytro Dzhulgakov
PyTorch
PyTorch ONNX Export Support - Lara Haidar, Microsoft
PyTorch
Apex - Michael Carilli, NVIDIA
PyTorch
Dataloader Design for PyTorch - Tongzhou Wang, MIT
PyTorch
Linear Algebra in PyTorch - Vishwak Srinivasan, CMU
PyTorch
PyTorch Mobile - David Reiss
PyTorch
Model Interpretability with Captum - Narine Kokhilkyan
PyTorch
Detectron2 - Next Gen Object Detection Library - Yuxin Wu
PyTorch
Speech Extensions to Fairseq - Dmytro Okhonko
PyTorch
PyTorch on Google Cloud TPUs - Google, Salesforce, Facebook
PyTorch
PyTorch Summer Hackathon Winners - Joe Spisak, Sebastien Arnold, Tristan Deleu
PyTorch
PyTorch in Robotics - Yisong Yue, Caltech
PyTorch
StanfordNLP - Yuhao Zhang, Stanford
PyTorch
Sotabench for Reproducible Research - Robert Stojnic, Papers with Code
PyTorch
Collaborative Natural Language Inference - Sasha Rush, Cornell
PyTorch
Privacy Preserving AI - Andrew Trask, OpenMined
PyTorch
CrypTen - Laurens van der Maaten
PyTorch
PyTorch at Uber - Sidney Zhang, Uber
PyTorch
PyTorch at Tesla - Andrej Karpathy, Tesla
PyTorch
PyTorch at Microsoft - Saurabh Tiwary, Microsoft
PyTorch
PyTorch at Dolby Labs - Vivek Kumar, Dolby Labs
PyTorch
PyTorch Developer Conference 2019 - Panel Discussion
PyTorch
Using deep learning and PyTorch to power next gen aircraft at Caltech
PyTorch
Named Tensors, Model Quantization, and the Latest PyTorch Features - Part 1
PyTorch
TorchScript and PyTorch JIT | Deep Dive
PyTorch
Announcing the PyTorch Global Summer Hackathon 2020
PyTorch
Opening Up the Black Box: Model Understanding with Captum and PyTorch
PyTorch
PyTorch Mobile Runtime for Android
PyTorch
Torchvision in 5 minutes
PyTorch
3D Deep Learning with PyTorch3D
PyTorch
What is Torchtext?
PyTorch
TorchAudio: A Quick Intro
PyTorch
PyTorch Mobile Runtime for iOS
PyTorch
PySlowFast: Deep learning with Video
PyTorch
PyTorch Pruning | How it's Made by Michela Paganini
PyTorch
Measuring Fairness in Machine Learning Systems
PyTorch
PyTorch for Hackathons
PyTorch
More on: ML Pipelines
View skill →Related Reads
📰
📰
📰
📰
Understanding Deep Learning Through Four Interactive Experiments
Medium · Data Science
Understanding Deep Learning Through Four Interactive Experiments
Medium · Deep Learning
Optimizers in Deep Learning: From Gradient Descent to Adam
Medium · Deep Learning
The Meta-Architecture of Interface Fracture: High-Dimensional Logical Stress and Systemic Collapse…
Medium · Deep Learning
🎓
Tutor Explanation
DeepCamp AI