Comments (5)
The rescale factor is to ensure that faces in images have a proper scale. Our model is trained using this scale so if you change it the performance might drop.
The similarity_Lm3D_all.mat contains 68 3D landmarks of the BFM2009 mean shape. We use them to align the size of faces in different images.
from deep3dfacerecon_pytorch.
The rescale factor is to ensure that faces in images have a proper scale. Our model is trained using this scale so if you change it the performance might drop.
The similarity_Lm3D_all.mat contains 68 3D landmarks of the BFM2009 mean shape. We use them to align the size of faces in different images.
Thanks for your reply, Yu! I tried to extract the 68 3D landmarks from the mean shape, but the coordinates value are very large, it seems you normalized them? I used the 68 landmarks indices from https://github.com/anilbas/BFMLandmarks and tried to normalize them, but the results are still different from yours. Could you please tell me how did you normalize them or how did you get these values?
from deep3dfacerecon_pytorch.
Yes, we rescale the BFM meanshape. For details you can check https://github.com/sicxu/Deep3DFaceRecon_pytorch/blob/master/util/load_mats.py.
After the preprocessing, we extract the 68 landmarks using the indices in facemodel_info.mat. We get the keypoints indices information from https://github.com/Juyong/3DFace.
from deep3dfacerecon_pytorch.
Yes, we rescale the BFM meanshape. For details you can check https://github.com/sicxu/Deep3DFaceRecon_pytorch/blob/master/util/load_mats.py.
After the preprocessing, we extract the 68 landmarks using the indices in facemodel_info.mat. We get the keypoints indices information from https://github.com/Juyong/3DFace.
OK. Thanks a lot, Yu!
from deep3dfacerecon_pytorch.
Hi, Thanks for sharing your code, it is a great work! But I have a question about it. How do you normalize the 3D landmarks? Thank you.
from deep3dfacerecon_pytorch.
Related Issues (20)
- ValueError: Unknown CUDA arch (8.9) or GPU not supported
- On the issue of differences in training visualization and testing effectiveness
- False error in training
- FileNotFoundError: [Errno 2] No such file or directory: './checkpoints/face_recon/epoch_latest.pth'
- Use this project with recent GPU ? HOT 6
- Open mouth HOT 2
- A little confusion about mask used for computing feat loss HOT 1
- Pretrained model
- No module named 'models.arcface_torch' HOT 1
- RuntimeError: CUDA error: no kernel image is available for execution on the device
- ImportError: DLL load failed HOT 2
- RuntimeError: Error building extension 'nvdiffrast_plugin_gl': ninja: error: build.ninja:3: lexing error HOT 1
- What does align_img do in test.py? HOT 1
- error while running HOT 1
- UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd3 in position 1454: invalid continuation byte
- ImportError: libtorch_cpu.so: undefined symbol: iJIT_IsProfilingActive HOT 5
- resnet50-0676ba61.pth
- Thank you for your work. There is no result showing in preprocess_in_th_wild.py
- Requirements for topology files
- "No module named pip"
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 deep3dfacerecon_pytorch.