-
Notifications
You must be signed in to change notification settings - Fork 78
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
AlbedoMM Clipping Textures #49
Comments
Can you please specify how you use the AlbedoMM texture model? To you clip the texture values before exporting? |
I am using the sample_texture.py script without modification to save the textures. The texture components are randomly sampled. For the last image though, all components are 0 except the first two which are -2 (2 std below the mean). I believe this shouldn't be too far outside the model's capability but it seems like it is? Or is this an issue that happens because the model has been adapted to work with FLAME. I don't know if this is an issue with the original texture model implemented in Scala. |
This is weird, I am running sample_texture.py with the first two parameters assigned to -2. All with the albedoModel2020_FLAME_albedoPart.npz albedo model. The resulting texture map looks like this: However that does not seem to have that clipping artifacts. Can you point out, what is different to your experiment? More specifically, I run following code:
|
Please let me know if you've had any luck reproducing this. Thank you! |
Unfortunately, I cannot reproduce your result. Running with -3 I get this: Even when running with -10, it does not show such clipping artifacts Running with -10 certainly does not make sense but still no weird clipping artifacts occur. Can you please provide
|
Okay this is great then! It means there is something going wrong on my end and that the model is good. I will investigate and then update this. For now let me close it. Thanks so much. |
@TimoBolkart The code
The code is almost exactly the code you have (and that is in the repo). For pip list
I followed installation instructions precisely, and I re-downloaded both the face and texture models. The only differences I could think of my setup with the default setup is that I am using CentOS and the fact that I installed chumpy 0.70 instead of 0.69 because pip cannot find that version. (OS info)
Thank you for your help. |
Thank you for the feedback. I do have that line in my code and and it was actually there to prevent such clipping artifacts, by mapping too small or too large values to 0 / 255. I don't understand right now why that solves your problem. |
Very strange. Thank you for your help though. |
Hi (cc @waps101),
When I use the AlbedoMM texture model I get texture clipping like this:
Notice the eyebrows in the sample above.
Another example with a rendered face:
A third example with less clipping:
The text was updated successfully, but these errors were encountered: