Coder Social home page Coder Social logo

Comments (7)

Yang-Yajie avatar Yang-Yajie commented on September 27, 2024 1

Thank you! I will tried this out and give more feedback.

Hi, I am also working on this project recently. Have you successfully applied ConSinGAN in the super resolution task?

from consingan.

tohinz avatar tohinz commented on September 27, 2024

Hi, we haven't tested animation and super-resolution with our model yet, but I would be interested to see how well it works.
For animation I believe it should work just as well as SinGAN, since I think the main idea is to just perturbate z_opt at test time. However, if I remember correctly SinGAN changes some hyperparameters for animation training (different --min_size, different noise padding, possibly others). An easy way to test animation would be to train a ConSinGAN model on the image of interest and then slightly perturbate the input noise z_opt at test time to see results (maybe check how SinGAN perturbates the noise exactly). I think SinGAN does something like 0.95z_opt + 0.05random_noise, but the details might be more involved.
For SR it's a bit more challenging as you observed. One idea to do this in our model would be to upsample the feature maps produced by the final generator (but before applying self.tail()) and feeding them again into the final generator block. This approach could be repeated several times until the desired resolution is reached. But I haven't tried this so not sure how well it will work and you might have to play around a little with the upsampling operation, i.e. by how much you upsample before feeding the upsampled features back into the final generator block.

from consingan.

tohinz avatar tohinz commented on September 27, 2024

Edit: I just added code/examples (see readme) for image animation. Training is the same as for uncondtional image generation. At test time we simply add random noise to z_opt to create minor variations for the animation.

from consingan.

danielkaifeng avatar danielkaifeng commented on September 27, 2024

Thank you! I will tried this out and give more feedback.

from consingan.

marisanest avatar marisanest commented on September 27, 2024

Hi, @tohinz thanks for the great work! I would also be very interested to hear if there are any updates about the super resolution task. Or perhaps someone else has already addressed the issue?

from consingan.

tohinz avatar tohinz commented on September 27, 2024

Hi, we haven't spent any time on testing ConSinGAN for super resolution. There are some ways this could be implemented but we are not planning on working on this. I'm happy to help with any specific questions or if you run into problems with the code though.

from consingan.

marisanest avatar marisanest commented on September 27, 2024

Hi, ok thanks for your response! I might come back to you when I start implementing myself.

from consingan.

Related Issues (20)

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.