-
Notifications
You must be signed in to change notification settings - Fork 3
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
Several Issues Encountered During Model Training #1
Comments
Hi, thanks for your attention.
Let me know if you have any other questions :) |
@AlvinYH For question 2, I think you may use the torch 2.0+. I have debugged the code, and find out the solution. That's because on the Line 111-113 in train.py, the self. model is compiled by torch and transferred from DLMesh to an Optimized model and cannot read initialized retarget_pose sequence. I delete these three lines and it works for me. : ) |
@czh-98 Thanks for your reply! As @Jackiemin233 mentioned, I did use torch 2.0+, and deleting lines 111-113 fixed the bug. Thank you both! |
I tried torch 2.0+ and noticed this issue is due to the inplace operation |
Thank you for publicly releasing your code! However, I encountered several problems while training the model:
mask
anddense face
are not on the same device. I resolved this by moving themask
to the GPU.retarget_pose
attribute in the trainer class does not seem to alter its value. This causes a bug at https://github.com/czh-98/STAR/blob/master/lib/dlmesh.py#L874 becauseretarget_pose
remains None. I'm unsure of the underlying reason, but I fixed this by encapsulating the function that setsretarget_pose
within thedlmesh
class.Thank you!
The text was updated successfully, but these errors were encountered: