Comments (2)
@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.
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:
- the model path (
--checkpoint_path
) - the path to a directory holding the images you wish to perform inference (
--data_path
) - 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)
- How to train on paired data? HOT 1
- latent image editing HOT 1
- About celebs_seg_to_face HOT 1
- multiple GPUs HOT 4
- Using my own pretrained model from vanilla StyleGAN2 HOT 3
- Is it possible video2anime train? like this project? HOT 3
- A problem about how to get diverse images? HOT 1
- the output image become brown HOT 3
- Need help with running the code on CPU HOT 1
- loading pretrained weights, STACK_GLOBAL requires str HOT 1
- How to train pSp on Z+ space? HOT 2
- Is it possible to create output images in profile (side-on) perspective using sketch to face? HOT 1
- Single channel input with Moco loss not working. HOT 2
- Some error reporting problems encountered during operation HOT 1
- How to use other identity loss rather than Arcface or Moco HOT 2
- How to use psp for Face beautification
- loss jump problem HOT 1
- Retraining
- How can I use the style mixing to just change the hair color.
- Can we use the latent_mask in ffhq_encode aswell ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pixel2style2pixel.