Giter VIP home page Giter VIP logo

detailsnet's Introduction

DetailsNet

A CNN network with residual connections as a Generator to improve details of images in cooperation with two Discriminators.

Citaion

Please cite this project as:

Nikan Doosti. (2020). Nikronic/DetailsNet: DOI Release (v0.1-alpha). Zenodo. https://doi.org/10.5281/zenodo.3838679

DOI

detailsnet's People

Contributors

nikronic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

xlnrp

detailsnet's Issues

Normalization is required

Using normalization in custom transforms required as below:

normalize = transforms.Normalize(mean=[0.485, 0.456, 0.406],
                                 std=[0.229, 0.224, 0.225])

or

normalize = transforms.Normalize(mean= [0.5, 0.5, 0.5],
                                 std=[0.5, 0.5, 0.5])

Considered input is arbitrary.

Because of implementation overview, I've just considered inputs in arbitrary sizes. After all other parts being fully implemented, we can make sure of the size.

Tanh is the required activation function for generator(DetailsNet)

In the layers in line 70, we have to use Tanh to map output between [-1, 1], but because we did not apply any normalization at first to map our images from [0, 1] to [-1, 1], we use Sigmoid for testing purposes, then after applying normalization with respect to issue #2, we can proceed to use Tanh as an activation function.

layers = [nn.Conv2d(input_channel, output_channel, kernel_size=kernel_size, stride=stride, padding=padding),

And the activation:

nn.Tanh()]

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.