Code Monkey home page Code Monkey logo

cddfm3d's People

Contributors

cassiepython avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cddfm3d's Issues

Fail to edit the head pose

I am trying to edit the facial pose of a face using python evaluate.py --name pose --model RIGModelP --load_apnet_epoch 80 but I fail.

Could you provide an example of editing the head pose?

Thanks in advance.

How to transfer attributes from src image to tgt image?

Hi, thanks for the excellent work.
I am trying to test the effect of transferring attributes from one source image to another target image, (e.g. makes the target person show the same expression with the source person), as shown in the Figure from the paper.
image

After reading the code, I am confused that whether this function is implemented in the code? The test_shape in evaluate.py seems a bit related but I cannot figure out what the pca_id and pca_val mean.

cddfm3d/evaluate.py

Lines 147 to 153 in 4660a56

def test_shape(self):
save_dir = os.path.join(self._save_dir, self._save_name)
os.makedirs(save_dir, exist_ok=True)
pca_id = 1
#pca_val = -10.0
pca_val = 20.0

Does the test_shape function do the thing I want? If not, what should I do to implement the expression transfer process?

Failed to train the APNet

Following the default procedure and parameter settings, I cannot train the APNet successfully. For different latents input, the network always produces the same result, e.g. mean face.
00001253

I tried to print the output of each layer (as shown below). It seems the network has already collapsed.
image

Cross-domain image adaptation

Hi, thank you for your work!

I like your approach with fixing the same style space for different domains and would have liked to reproduce it. So I want to be sure about what exactly was your approach.

To keep the latent consistency across all generators, we freeze the network layers relevant to latent embedding. To be specific, since we use the style space ๐’ฎ, all style convolution layers and tRGB layers, Menglei: i.e., the affine transformation layers, are fixed during the finetuning.

Hence, all the affine layers are freezed together with all tRGB layers?

 Besides that, we use exactly the same loss functions and hyper-parameters as in StyleGAN2

Would it affect the result if stylegan-ada is used for finetuning a new model?

Looking forward to hearing from you!

Error when run evaluate.py

Hi, firstly thank you for sharing this work.

When I run the python evaluate.py --name apnet_wpdc --model APModel command in Attribute Prediction part, I got the error as follows:

Model APModel was created
  0%|                                                                                                                                                                                     | 0/199 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "evaluate.py", line 192, in <module>
    model.test_shape()
  File "evaluate.py", line 159, in test_shape
    latent_pred, params_source, params_pred = self._model.forward_test(latent, pca_id, pca_val)
TypeError: forward_test() takes 2 positional arguments but 4 were given

And when I check the code, I found the function of forward_test in APModel class exactly accept only one latent argument, however, the above function need three arguments.

I don't know how to fix this error.

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.