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

About 3D warping operation #2

Open
gorgeousdays opened this issue Aug 22, 2023 · 2 comments
Open

About 3D warping operation #2

gorgeousdays opened this issue Aug 22, 2023 · 2 comments

Comments

@gorgeousdays
Copy link

Hi, thanks for your awesome work.

I am trying to reproduce the paper, but I have meet some problems with 3D warping operation.Can you provide a detailed explanation of the 3D warping operation.

Thanks.

@johndpope
Copy link

johndpope commented Apr 27, 2024

old ticket - but can you review this
https://real3dportrait.github.io/
their code has these modules
from modules.real3d.facev2v_warp.network
I believe that this builds from this paper - let me know otherwise.

@johndpope
Copy link

johndpope commented May 16, 2024

@gorgeousdays - i completely rebuild some code (using Claude Opus)
https://github.com/johndpope/MegaPortrait-hack

I got stuck on warping too (but I'm close)
johndpope/MegaPortrait-hack#4

@neeek2303 is the paper diagram actually accurate?
warpgenerator

https://github.com/johndpope/MegaPortrait-hack/blob/main/model.py#L286

why do you need 2048 channels ?

when I concatenate the values - I get these dimensions - but then it's supposed to magically become 2048 - I don't understand.

        vs, es = self.Eapp(xs) # Appearance encoder source
        Rs, ts, zs = self.Emtn(xs) # motion encoder source
        Rd, td, zd = self.Emtn(xd) # motion encoder driving

        # es shape: torch.Size([1, 512])
        # Rs shape: torch.Size([1, 3])
        # ts shape: torch.Size([1, 3])
        # zs shape: torch.Size([1, 50])

I've got 512 + 3 + 3 + 50?

is 50 dimensions for expression accurate?

UPDATE - with some help - this is working
johndpope/MegaPortrait-hack#36

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