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

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

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

johndpope
Copy link

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
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