Skip to content
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

Issues training with idname Obama #29

Open
soni-H opened this issue Aug 11, 2024 · 2 comments
Open

Issues training with idname Obama #29

soni-H opened this issue Aug 11, 2024 · 2 comments

Comments

@soni-H
Copy link

soni-H commented Aug 11, 2024

Hi,

I'm trying to re-train the model for id Obama to understand the pipeline better. However, in the second iteration I get the following error -

verts_final = uv_vertices + uv_vertices_deforms
RuntimeError: The size of tensor a (12280) must match the size of tensor b (14876) at non-singleton dimension 1

While debugging it, I found the self.uvmask_flaten_idx is changing in the second iteration which in turn is leading to a uv_vertices of arbitrarily some different dimension. Can you please direct me what exactly am I missing here? I'm using the inputs (alpha, face-parsing outputs, tracking outputs) as provided by you.

Thanks,
Harshita

@soni-H
Copy link
Author

soni-H commented Sep 4, 2024

Can one of the authors please comment on the issue? @xiangjun-xj
On further debugging, it looks like the DeformModel.uvmask_flaten_idx is changing right after render() is invoked. Can you at least tell if my understanding about DeformModel.uvmask_flaten_idx being constant throughout the entire training is correct or not?

@xiangjun-xj
Copy link
Collaborator

Sorry, as almost no one else has the similar issue, I think it is more likely a personal problem. What about repeating the process from the very beginning?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants