Skip to content

DRAFT - refactor to use sapiens / normal / identity loss / #6

Open
johndpope wants to merge 16 commits intothuhcsi:masterfrom
johndpope:master
Open

DRAFT - refactor to use sapiens / normal / identity loss / #6
johndpope wants to merge 16 commits intothuhcsi:masterfrom
johndpope:master

Conversation

@johndpope
Copy link
Copy Markdown

currently getting OOM.

but the normal image looks much sharper.
ref_normal

if you have a100 - 40gb + facebook sapiens models - this may boost results to SOTA.

the normalmap_vis should work first - and spit out the normal image.

    python normalmap_vis.py '/home/oem/Desktop/OLD/image_1.png' test.png test.pny

the inference i rebuild to use a class - it has identity loss added to make face look better.

this refactored inference commit should work fine as is - just cherry pick
https://github.com/johndpope/MagicMan/blob/cabc9460c583e19211ec214f834f462bcc2ace64/inference.py

I test tomorrow on a100..

@johndpope
Copy link
Copy Markdown
Author

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

Successfully merging this pull request may close these issues.

1 participant