Git Product home page Git Product logo

Comments (5)

JinEui-Kim avatar JinEui-Kim commented on July 17, 2024 1

Thank you very much! I think this pretrained model of celebA (https://github.com/FacePerceiver/facer/releases/download/models-v1/face_parsing.farl.celebm.main_ema_181500_jit.pt) is good.

Thanks. It works for me.
I just change the url of pretrain_settings in file '~/anaconda3/envs/fran/lib/python3.9/site-packages/facer/face_parsing/farl.py', line 14. like below

pretrain_settings = {
    'lapa/448': {
        'url': [
            # original
            # 'https://github.com/FacePerceiver/facer/releases/download/models-v1/face_parsing.farl.lapa.main_ema_136500_jit191.pt',
            'https://github.com/FacePerceiver/facer/releases/download/models-v1/face_parsing.farl.celebm.main_ema_181500_jit.pt',
        ],
        'matrix_src_tag': 'points',
        'get_matrix_fn': functools.partial(get_face_align_matrix,
                                           target_shape=(448, 448), target_face_scale=1.0),
        'get_grid_fn': functools.partial(make_tanh_warp_grid,
                                         warp_factor=0.8, warped_shape=(448, 448)),
        'get_inv_grid_fn': functools.partial(make_inverted_tanh_warp_grid,
                                             warp_factor=0.8, warped_shape=(448, 448)),
        'label_names': ['background', 'face', 'rb', 'lb', 're',
                        'le', 'nose',  'ulip', 'imouth', 'llip', 'hair']
    }
}

then i got the face and neck mask.
ν™”λ©΄ 캑처 2023-03-29 151732

from facer.

Bai426 avatar Bai426 commented on July 17, 2024

Why there are not 19 segmentation classes with celebA_HQ model? And there are less than 12 segmentation classes for the provided model in facer?

from facer.

YANG-H avatar YANG-H commented on July 17, 2024

The CelebAMaskHQ is not yet ready to use. Please refer to #8 (comment)

from facer.

Bai426 avatar Bai426 commented on July 17, 2024

Thank you very much! I think this pretrained model of celebA (https://github.com/FacePerceiver/facer/releases/download/models-v1/face_parsing.farl.celebm.main_ema_181500_jit.pt) is good.

from facer.

yinglinzheng avatar yinglinzheng commented on July 17, 2024

Hi, celebm face parsing model is available , try it out here

from facer.

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.