Giter Site home page Giter Site logo

so hard to train about ganimation HOT 10 OPEN

buptlj avatar buptlj commented on June 29, 2024
so hard to train

from ganimation.

Comments (10)

vipermu avatar vipermu commented on June 29, 2024

Hey @buptlj glad that at least the pre-trained model worked :)

When you set lambda_sat to 1.5 it becomes 0? This is really weird....

Are you using a batch size of 16 when you try the default hyperparameter values? Could you also try them with a batch size of 25?

from ganimation.

buptlj avatar buptlj commented on June 29, 2024

I didn't change the params and the batch size is 16.
I also tried them with a batch size of 25, but still not work.
I also tried lambda_cls=4000, but the results are almost the same with lambda_cls=160.
The attention mask is either too white or too dark.
I got the attention mask:

10_1attention_

from ganimation.

vipermu avatar vipermu commented on June 29, 2024

Okay this has happened to me before. In my case the problem was because I had not computed the Action Units of each face correctly.

You mentioned that you were using the dataset that I've provided so that shouldn't be a problem (I trained my models with those images and Action Units).

Do you think that somehow you can be doing something different that makes that the pair AU-image do not correspond anymore?

I also assume that you are using all the images for training right?

from ganimation.

buptlj avatar buptlj commented on June 29, 2024

Finally, I get the correct result.
You mentioned that you got the above problem because you had not computed the Action Units of each face correctly, so I use openface to compute the AUs and everything goes right.
I find that the AUs I get are different from yours.
For example, your face img and AUs:
frame_det_00_000010
0.56 0.03 0.32 0.84 1.23 0.70 0.31 0.64 1.89 0.75 0.00 0.00 0.45 0.00 1.53 0.04 0.04
My result:
000010
0.00 0.00 0.00 0.00 0.50 0.80 0.00 0.15 1.08 1.46 0.02 0.62 1.14 0.00 0.07 0.14 0.00
The two faces are almost the same,but the AUs are different.

from ganimation.

vipermu avatar vipermu commented on June 29, 2024

I see, it's weird because I uploaded the file I used to train my final models. I'll check it out though, thanks!

from ganimation.

duxingren14 avatar duxingren14 commented on June 29, 2024

Finally, I get the correct result.
You mentioned that you got the above problem because you had not computed the Action Units of each face correctly, so I use openface to compute the AUs and everything goes right.
I find that the AUs I get are different from yours.
For example, your face img and AUs:
frame_det_00_000010
0.56 0.03 0.32 0.84 1.23 0.70 0.31 0.64 1.89 0.75 0.00 0.00 0.45 0.00 1.53 0.04 0.04
My result:
000010
0.00 0.00 0.00 0.00 0.50 0.80 0.00 0.15 1.08 1.46 0.02 0.62 1.14 0.00 0.07 0.14 0.00
The two faces are almost the same,but the AUs are different.

Could you please also share the AUs you generated. I would like to try to reproduce the results. Thanks.

from ganimation.

pytyeah avatar pytyeah commented on June 29, 2024

Could you show me the correct attention mask and color mask that you've obtained? I think my result is a little weird. Thanks for your help!

from ganimation.

Changezi001 avatar Changezi001 commented on June 29, 2024

Finally, I get the correct result.
You mentioned that you got the above problem because you had not computed the Action Units of each face correctly, so I use openface to compute the AUs and everything goes right.
I find that the AUs I get are different from yours.
For example, your face img and AUs:
frame_det_00_000010
0.56 0.03 0.32 0.84 1.23 0.70 0.31 0.64 1.89 0.75 0.00 0.00 0.45 0.00 1.53 0.04 0.04
My result:
000010
0.00 0.00 0.00 0.00 0.50 0.80 0.00 0.15 1.08 1.46 0.02 0.62 1.14 0.00 0.07 0.14 0.00
The two faces are almost the same,but the AUs are different.

I am also having the same problem of getting the attention maps saturated to 1 by setting all the parameters to default values and having the batch size of 16. Could you please share the AUs that you have generated?

from ganimation.

Sycamoretree avatar Sycamoretree commented on June 29, 2024

Finally, I get the correct result.
You mentioned that you got the above problem because you had not computed the Action Units of each face correctly, so I use openface to compute the AUs and everything goes right.
I find that the AUs I get are different from yours.
For example, your face img and AUs:
frame_det_00_000010
0.56 0.03 0.32 0.84 1.23 0.70 0.31 0.64 1.89 0.75 0.00 0.00 0.45 0.00 1.53 0.04 0.04
My result:
000010
0.00 0.00 0.00 0.00 0.50 0.80 0.00 0.15 1.08 1.46 0.02 0.62 1.14 0.00 0.07 0.14 0.00
The two faces are almost the same,but the AUs are different.

I am also having the same problem of getting the attention maps saturated to 1 by setting all the parameters to default values and having the batch size of 16. Could you please share the AUs that you have generated?

Could you please share the AUs that you have generated? Because I have found my AUs are wrong.

from ganimation.

ForeverPs avatar ForeverPs commented on June 29, 2024

Great, I use OpenFace to re-generate the AUs for all images, and the results become normal. Great work!

from ganimation.

Related Issues (13)

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.