Coder Social home page Coder Social logo

blade6570 / photographicimagesynthesiswithcascadedrefinementnetworks-pytorch Goto Github PK

View Code? Open in Web Editor NEW
65.0 65.0 10.0 1.93 MB

Photographic Image Synthesis with Cascaded Refinement Networks - Pytorch Implementation

Python 100.00%
cityscapes deep-learning high-resolution neural-network photorealistic-based-rendering semantic-segmentation vgg19

photographicimagesynthesiswithcascadedrefinementnetworks-pytorch's Introduction

Soumya's github stats

photographicimagesynthesiswithcascadedrefinementnetworks-pytorch's People

Contributors

blade6570 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

photographicimagesynthesiswithcascadedrefinementnetworks-pytorch's Issues

Information on training process

Hi there,

I'm just wondering if it is possible to get some information on what hardware you used to train the model, as well as how long you took? I am currently writing my own version of the CRN, however I am encountering extremely long training times and massive memory requirements, and so I thought is worthwhile to find out more about other implementations and their requirments.

Kind regards

The way that you get D and D_m seems computation heavy.

def recursive_img(label,res): #Resulution may refers to the final image output i.e. 256x512 or 512x1024
     dim=512 if res>=128 else 1024
#    #M_low will start from 4x8 to resx2*res
     if res == 4:
         downsampled = label #torch.unsqueeze(torch.from_numpy(label).float().permute(2,0,1), dim=0)
     else:
         max1=nn.AvgPool2d(kernel_size=2, padding=0, stride=2)
         downsampled=max1(label)
         img = recursive_img(downsampled, res//2)
         
     global D
     global count
     global D_m

     D.insert(count, downsampled)
     D_m.insert(count, dim)
     count+=1
     return downsampled  

Why not directly assign each D_i and D_m_i with specific values.

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.