New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use learned latent direction from .npy files #1
Comments
Hi @tlack , Thanks for your interest in our work. Have you trained a model yourself, or have you used a pre-trained one? The You may want to use the pre-trained model for ProgGAN (which you can download using download_models.py -- not in the master branch yet). The GIFS in
The magic number ( I'll merge |
You can see my awful, fledgling attempts at getting your stuff going here: https://colab.research.google.com/drive/188bKhg_tNwjUVo4BXsiwywKnCSaT3e0x?usp=sharing My goal for this experiment is to enter a bunch of English descriptors ( I'm starting from ProGAN because I've had good luck with that family in other experiments. I think I understand your guidance here: determine the best paths for each attribute using I guess Thanks for your detailed and very rapid response. And for providing code that actually works out of the box! This may be a first in machine learning paper history. :) |
Hey @tlack, first of all, thanks for taking the time to extend our method! We've also been thinking in this direction, and may try something in the future. Before everything, please have a look at another very relevant ICCV'21 paper. It's very close to what we do (they try to optimize a vector field), but they do that in a supervised way. They also have an NLP module for editing based on verbal instructions.
I'm not trying to be cryptic or anything, I just need some time to refactor the script and provide an easy-to-follow piece of code. Regardless, what we really do, as we try to describe briefly in the paper as follows:
Thus, we compute the Pearson's correlation between the step of the path (i.e., the index of the path:
Thank you! Please consider closing the issue if the above answer your questions. I'll push the remaining script asap, stay tuned :) |
Hey there,
I've been eagerly setting up WarpedGAN on a Google Colab today and ran into a problem.
I was able to successfully run traverse_attribute_space and I see gender.npy, etc.
But these are
(128,33)
and ProGAN'sz
is(1,512)
.I think I have to apply the loaded latent to the Support Set, but the exact mechanism is unclear to me.
Is there somewhere in the source that I can see how this works? How did you generate those nifty GIFs on the
dev-eval
branch?The text was updated successfully, but these errors were encountered: