-
Notifications
You must be signed in to change notification settings - Fork 40
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
The face of "smplx_optimized_smoothed“ #13
Comments
I haven't seen this kind of failure case. Did you change any of the fitting code? |
Hello, I have checked my files and it seems that the fitting code has not been modified. If there were any modifications, I only modified the environment file, but that was due to compatibility issues caused by a too high torch version, such as changing "mask_c2=(1- mask_d2) * mask_d0_nd1" to "mask_c2=(~mask_d2) * mask_d0_nd1" I don't know where the problem lies |
during the pre-processing, the code dump several videos. Could you first check them? For example, |
Thank you for your suggestion. In fact, |
Okay, I will give it a try and get back to you. Thank you again for your suggestion. |
Hello, I have adjusted the parameters you mentioned, but it seems that the issue of facial deformation still persists. Additionally, I realized that the project version I downloaded was outdated. You submitted new files (such as unwrap.py) six days ago, so I reconfigured the file directory and retrained the model. Furthermore, I have also adjusted the parameters you mentioned, but there are still facial issues with both models. Furthermore, I have a question. It seems that the file generated by Do you have any other suggestions? I am also working hard to identify the problem. I am sorry that I have so many questions. I hope to get your help. Thank you again |
|
The |
you should not use math.pi/2 as it makes the results worse. could you use lower threshold like math.pi/6*5? Also, the face quality might not depends on this specific frame. please share your phone scan and avatar animation as well. |
These are some screenshots screenshot of my phone scan and avatar animation. If you need, I can also send the complete video to your homepage email. I hope this won't disturb you. I will modify the parameters(math.pi/6*5) and try the effect. Thanks. |
I also recommend to change this function to below
And change this line to
|
Hi,I changed the function and corresponding lines as you said, but unfortunately, the situation seems to have worsened. Additionally, math. pi/6 * 5 seems to have poor performance as well. |
Could you share the full video of your phone scan? |
Sure, how should I send it to you? Is it feasible to send it to your homepage email? |
you can share the link of the google drive |
I have uploaded my video to the following link |
I don't have an access to it. please make it public |
Sorry, I didn't pay attention. I have made the changes, can you access it now |
Let me check it two days later as I'm heading to ECCV now. Could you also post the link of smplx_optimized.mp4 and smplx_optimized_smotohed.mp4? |
Okay, I have uploaded them to the following link. They are the trained versions after modifying "def check_face_visibility". |
This is very weird.. how the results look like in flame_init? Also, could you strictly follow up-to-date code without modifying any of it? |
I am uploading the
|
I think flame_init has some problem. images in |
the results should look like this |
You are right, I have checked all the training versions in history and found that they are all missing 3D facial geometry. Perhaps this is where the problem lies. May I ask what I should do to correct this issue |
Nothing special. Just follow instructions of mine and DECA. After following instructions of DECA, did you run python copy_code.py? |
I followed your steps and initially ran python copy_code.py, then followed the steps and finally executed python run.py. Perhaps I should run it separately according to the DECA project page? I originally thought that there was no need to run projects separately. |
You do not need to run DECA separately. You first need to install DECA, then run |
I recommend checking whether you installed DECA properly by running example cmds of DECA website. |
Okay, I will conduct the inspection as you said. |
Your suggestion is very effective! I missed two weights when installing DECA, which resulted in the loss of 3D facial geometry. What a stupid mistake... After I made up for this mistake, the facial effect of the model looks normal. Thank you very much for your patience and help. I will further create avatars to view the effect in the future. Thank you again for your help! |
But I have encountered some new problems. I also encountered the situation of The following link includes the file contents of 436-438. The file weight value of AI analysis 437 is relatively low, and the content in the image is analyzed by AI. What should I do? https://drive.google.com/drive/folders/1hOCazvMM34Uw3ndRmHu8li2bVTiCjM64?usp=drive_link |
Why is the number of data points is different? |
This is also what I am puzzled about. According to my records, I did not make any changes to the mmpose code |
could you rerun mmpose and check the keypoints_whole_body.mp4 of that frame? |
I have rerun mmpose, and this is the result of frame 437, which seems to be no different from the previous and subsequent frames |
could you rerun the fit.py and subsequent smoothing based on the new mmpose results? |
please use up-to-date code |
I am doing this and it will take some time before the training ends. The code I am currently using was downloaded three days ago. Do you have any new updates since then? If there is, I will download again |
Just in case, let's download it again |
Okay, once I have the results, I will reply to you immediately. Thanks |
if cou can, could you remove all dumped results (e.g., flame_init) and start from the scratch? |
Sure, I always create a new folder every time. I hope there will be a good outcome this time. I'm sorry to bother you so much |
I downloaded all the projects and code again and started training from scratch. Unfortunately, the same issue still occurred at frame 437. |
A weird point is that mmpose uses kpt threshold of 0.3 when visualizing 2D keypoints: https://github.com/open-mmlab/mmpose/blob/71ec36ebd63c475ab589afc817868e749a61491f/mmpose/apis/visualization.py#L14 As your 437.json shows, many kerypoints have scores lower than 0.3, but the visualized keypoints of 437th frame looks good. How did you install mmpose and which modification did you made to the mmpose? |
Sorry I think I found the bug. I saved |
Thank you for your suggestion. After I made modifications to this area, the model is functioning normally. Thank you again for your patience and assistance. |
To supplement, I solved a similar face fitting problem (as attached) by manually adding "deca_model.tar" to the ./tools/DECA/data/ . It seems that the DECA code won't raise an error for the absence of the pretrained models |
Yes, this is exactly one of the two missing weights I mentioned earlier. Another one is |
👍 |
Hi,Sorry to bother you again
During my Fitting process, the fit of the face of "smplx_optimized_smoothed" is not ideal, and the model will be distorted when turned sideways, is there any way to solve this problem?
The text was updated successfully, but these errors were encountered: