Coder Social home page Coder Social logo

how to test toonify about pixel2style2pixel HOT 2 CLOSED

eladrich avatar eladrich commented on May 26, 2024
how to test toonify

from pixel2style2pixel.

Comments (2)

ChengBinJin avatar ChengBinJin commented on May 26, 2024 1

@yuval-alaluf
Thank you for your prompt reply, and I found the notebook that you said and I figured out how to use it now. Thank you again!

from pixel2style2pixel.

yuval-alaluf avatar yuval-alaluf commented on May 26, 2024

Hi @ChengBinJin,
First, notice that with this repo we provide a Google Colab notebook that takes you through the inference flow of all our applications. At a high level, for each desired application, the notebook will download the relevant pre-trained model and apply the model on a given input image. Therefore, I would recommend starting with the inference notebook.

Other than this notebook, you can download all our pretrained models using the links provided in the README. Once you have downloaded the model, you can use the script inference.py to apply the model on a desired set of images. The inference script receives multiple parameters, the most important of which are:

  1. the model path (--checkpoint_path)
  2. the path to a directory holding the images you wish to perform inference (--data_path)
  3. the output path of where to save the results (--exp_dir)

Finally, note that like all StyleGAN models, the inputs should be aligned. To assist with this, we provide an alignment script in scripts/align_all_parallel.py that you can use if needed.

Please let me know if you have any questions.

from pixel2style2pixel.

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.