Code Monkey home page Code Monkey logo

Comments (5)

PeterWang512 avatar PeterWang512 commented on June 2, 2024

I think you are asking about two things in our paper.
(1) Our method takes in one or a few cat sketches, and update the entire generator to synthesis endless cats with similar shape and poses.
(2) We show an application to transform a real cat image into latent_z. Note that this projection is done on the original cat network. We can then feed the latent_z into the new created generator to achieve an image manipulation effect (i.e. changing the shape and pose of the real cat into the one depicted by the sketch).

from gansketching.

hahaCui avatar hahaCui commented on June 2, 2024

Nice to receive your reply! Now I get it.

If so, suppose using handreds of cat sketches with each with different pose and shape from others, I'm afraid there may exists two problems:
(1) Just as your reply to @qingqingisrunning, If I use whole sketches to train sketchGan, the inference result may be a strange result;
(2) But If I train one model for each cat sketch, it really consumes much time and computation cost!

Looking forward to your new research !

from gansketching.

PeterWang512 avatar PeterWang512 commented on June 2, 2024

yes these are great suggestions, and unfortunately our method currently is not capable of achieving fast model creation right now. It would be a great direction to speed up the model creation process.

from gansketching.

Zeeshan75 avatar Zeeshan75 commented on June 2, 2024

Hi @PeterWang512, Thanks for sharing your work. It's Interesting!

I have gone through your recent repo gan warping, There I could find the saved latent spaces for cats and you were doing warping or edits by using those .npz latent space files.

Can you give me the suggestions or the approach to the below questions:

  1. How can we generate the latent space by taking the input cat image by using your cat pre-trained model?
  2. How can we transform the above latent space (or) train the model to generate the cartoon(toonify) cat image?

Thanks in advance.

from gansketching.

jingnian-yxq avatar jingnian-yxq commented on June 2, 2024

I tried pix2latent for getting latent_z, but the model provided is for size 512, and my images are size 256. It reports "RuntimeError: mat1 dim 1 must match mat2 dim 0". How should I change to apply for 256x256 images?

from gansketching.

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.