Giter Club home page Giter Club logo

christophreich1996 / semantic_pyramid_for_image_generation Goto Github PK

View Code? Open in Web Editor NEW
46.0 46.0 6.0 5.14 MB

PyTorch reimplementation of the paper: "Semantic Pyramid for Image Generation" [CVPR 2020].

Home Page: https://arxiv.org/pdf/2003.06221.pdf

License: MIT License

Python 99.46% Shell 0.54%
adversarial-learning cnn convolutional-neural-networks deep-learning deep-neural-networks gan generative-adversarial-network image-generation machine-learning pytorch semantic-pyramid semantic-pyramid-image-generation

semantic_pyramid_for_image_generation's People

Contributors

christophreich1996 avatar ryul99 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

semantic_pyramid_for_image_generation's Issues

Potential bug in the misc.py file when creating masks for training

The paper states in section 3.2, that the default mode of training is to select 1 layer and mask out the others. I believe with this implementation, all of the layers after the selected layer will not be masked out as you use torch.ones instead of torch.zeros for the default cases.

I've uploaded a small dcoument that discusses this. There was also an edge case where if the 1st layer(365,) there is a possibility the second layer will be randomised and the third layer may not use the spatially varying mask.

Potential Mask Issue in Starter Code.pdf

Note, due to computational resource limits, I've reduced the image size to 64x64 and the classes down to 10 so there is some variation in the code. Thanks for this implementation by the way, it has been a great help to me!

About the result figure.

Thank you for the project! What's the meaning about the results figure shown in your readme? Is it the output image from the training procedure or? And why some of the results look good and some looks strange?

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.