Code Monkey home page Code Monkey logo

generative-models's People

Contributors

dmitry-vorobiev avatar vfdev-5 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

vfdev-5 jireh-jam

generative-models's Issues

Add project to ignite repository list

Hi @dmitry-vorobiev

I would like to add your project to https://github.com/pytorch/ignite#others
and optionally even create a working Colab with wandb online logs and generated images by trained model.
How would you estimate the readiness of this repository ?

I took a look on your "Projects" kanban and I'd also be interested in adding AMP training.

What do you think about all this ?

PS: optionally you can also ping me on ODS slack (@vfdev-5) if you would like to discuss more.

How to add dataset

Hi @dmitry-vorobiev

I'm trying to play around this code and it would cool to add some info on:

  • how to download the dataset
  • how to use the dataset from a custom location

What do you think ?

PS: thanks for open-sourcing the code

How to properly handle buffers?

# TODO: how to properly handle buffers?

Maybe like this:

def setup_ema(ema_model, ref_model):
    # assumption: ema_model architecture == ref_model architecture
    ema_model.load_state_dict(ref_model.state_dict())
    for param in ema_model.parameters():
        param.detach_()
    # set EMA model's BN buffers as base model BN buffers:
    for m1, m2 in zip(ref_model.modules(), ema_model.modules()):
        if isinstance(m1, nn.BatchNorm2d) and isinstance(m2, nn.BatchNorm2d):
            m2.running_mean = m1.running_mean
            m2.running_var = m1.running_var

?

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.