fidelity / stoke

A lightweight wrapper for PyTorch that provides a simple declarative API for context switching between devices, distributed modes, mixed-precision, and PyTorch extensions.
https://fidelity.github.io/stoke/
Apache License 2.0
66 stars 3 forks source link

Add support/examples for GANs #19

Open zaksemenov opened 2 years ago

zaksemenov commented 2 years ago

Feature

It would be nice to see examples/support for how to use stoke with GAN training

Motivation

It is unclear how to train a GAN using stoke and if 2 stoke objects would need to be initialized (for generator and discriminator) or if it could be adapted to fit into a main stoke object

Proposal

Add necessary example for training a simple GAN or extend support if it cannot work out of the box