Comments (5)
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.
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.
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.
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:
- How can we generate the latent space by taking the input cat image by using your cat pre-trained model?
- How can we transform the above latent space (or) train the model to generate the cartoon(toonify) cat image?
Thanks in advance.
from gansketching.
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)
- Evaluation script error HOT 9
- How to generate using your own sketches? HOT 6
- Problems about fused_act.py. TypeError: bump_version_if_changed() got an unexpected keyword argument 'is_python_module' and subprocess.CalledProcessError: Command '['ninja', '-v']' returned non-zero exit status 1.
- A TypeError occurred while running training scripts. HOT 4
- Evaluation FID in trained model doesn't match the one from the pre-trained model HOT 2
- ImportError: No module named 'fused' HOT 1
- Segmentation fault (Core dumped) when loading the compiled module fused HOT 2
- system HOT 5
- How to load the parameters of the latest model and continue training. HOT 1
- How to further modify the generate model through GANspace HOT 2
- Is it possible to generate higher resolution images e.g. 1024X1024 HOT 1
- When sampling, the generated images are all pure gray HOT 1
- Training process HOT 2
- loss value HOT 3
- Is it possible to use models of StyleGan2-ada? HOT 1
- Error(s) in loading state_dict for Generator HOT 4
- how to convert sketch into fixed_z (.pth file) when running generate.py HOT 4
- ninja: build stopped HOT 5
- Pretrained stylegan2 models HOT 8
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 gansketching.