Comments (4)
Hi, Cog is the open source tool used realising the replicate demo, please check the document for installation details or this PR for reference. With cog.yaml
and predict.py
, you can use Cog to build your own web demo and docker image. However for HairCLIP it is implemented by us here with customised image input, you can try the web demo directly without the need to run predict.py
:) Hope it helps.
from hairclip.
Hi, Cog is the open source tool used realising the replicate demo, please check the document for installation details or this PR for reference. With
cog.yaml
andpredict.py
, you can use Cog to build your own web demo and docker image. However for HairCLIP it is implemented by us here with customised image input, you can try the web demo directly without the need to runpredict.py
:) Hope it helps.
Hi,
Thank you for your answer.
Oh, I see.
I also want to ask you a question. Does this work support inputting an original hairstyle image and a reference hairstyle image instead of text input, and then returning the result? If yes, where can I modify this part because I see inference.py, the test data is encoded into latents
Thank you again for your work!
from hairclip.
The predict
function in predict.py
accepts any input and any Output
object as you define them (see this doc for more details, feel free to play with it :)
from hairclip.
The
predict
function inpredict.py
accepts any input and anyOutput
object as you define them (see this doc for more details, feel free to play with it :)
OK, thank you for your patience and guidance.
Have a nice day!
from hairclip.
Related Issues (20)
- About Video Hair Editing HOT 1
- code
- question of split database(train.pt and test.pt)
- What this mean in
- What is the truncation for in function configure_datasets of coach.py?
- How to slove the problem "train.py: error: the following arguments are required: --hairstyle_description, --color_description " when i run code in Colab? HOT 1
- I notice that image manipulation loss is defined as "1-cos(,) " . But I feel confused that whether i can change that to "-cos"
- F and C
- What is the data set of test input
- How do you introduce encoder4editing in predict.py without conflicting with the environment?
- What is the code license? HOT 1
- Will stylegan inversion encoder be trained? HOT 2
- How to change the hairstyle of a given image with a image containing the target hairstyle?
- local variable 'shape' referenced before assignment
- How many images were used to calculate the three metrics IDS, PSNR, and SSIM derived from Table 1?
- Inference on image data without converting to e4e HOT 1
- Getting error on inference when using reference image hairstyle to paste on input image.
- Error while training the model on my dataset.
- Name conflicts between soruce code and source code of encoder4editing
- what is ACD?
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 hairclip.