Coder Social home page Coder Social logo

Comments (6)

thaoshibe avatar thaoshibe commented on August 20, 2024

Thanks for your interest! (🖒^^)🖒
To be clear, could you provide more details about the "mask"? (Eg: facial segmentation, UV-map-segmentation, etc.).
Without further information, I'm not sure I can address your question properly.


But in general, I hope you're looking for "one of these masks": facial segmentation or UV-segmentation

Facial Segmentation

To get facial segmentation, I used [face-parsing.Pytorch]

facial-segmentation

(Face-parsing will give you facial attributes such as upper lip, lower lip, left eye, right eye, hair, etc. Check here for details)

P.s: Existing makeup datasets (LADN, BeautyGAN) already have facial segmentation within them.

UV map segmentation

Check how to get "respective UV-map texture of each image and its segmentation mask", section 2 - Get UV texture
(To be specific, uv_seg is what you need)

uv_texture, uv_seg = generator.get_texture(image, seg)


Glad to help! ᕦ( ͡° ͜ʖ ͡°)ᕤ

from cpm.

bladenow avatar bladenow commented on August 20, 2024

Thank you very much for your reply so soon.
SEGS directory, with what code?

__ segs
|__ makeup
|__ non-makeup

from cpm.

thaoshibe avatar thaoshibe commented on August 20, 2024

Hello, which dataset you're talking about?
CPM-Synt-1, CPM-Synt-2, or Makeup Transfer Dataset? Pls check here .

from cpm.

bladenow avatar bladenow commented on August 20, 2024

Makeup Transfer Datase

from cpm.

thaoshibe avatar thaoshibe commented on August 20, 2024

Oh I think you're talking about Makeup Transfer Dataset (published with BeautyGAN paper). They already provided facial segmentation masks!

In their paper, they said that they used PSPNet. Please check in their paper.

For me, I recommend using face-parsing.Pytorch. Please check!

from cpm.

bladenow avatar bladenow commented on August 20, 2024

Thank you very much!!!

from cpm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.