deepinsight / insightface

State-of-the-art 2D and 3D Face Analysis Project
https://insightface.ai
23.31k stars 5.41k forks source link

Where can i find generate_edge.py? #2001

Open xevolesi opened 2 years ago

xevolesi commented 2 years ago

Hi, could you please tell me where can i find generate_edge.py? I think that your face-parsing approach greatly meets my requirements. I looked inside parsing directory but i was not able to find this scirpt.

Thank you!

DanielXu123 commented 2 years ago

Hi, @xevolesi . Have you tried to combine those three datasets together? I checked the code in ./parsing/dml_csr/dataset. it suppose only added CelebA-HQ-Mask for training.

xevolesi commented 2 years ago

Hi, @DanielXu123 !

Sorry for late answer.

No, i haven't. I took pretrained U-Net from CelebA-HQ-Mask repository and it turned out that for me it has sufficient quality. May be it worth to try for you? However, my question still stands. I would be interested in trying the InsightFace approach for solving the face parsing problem. Of course i can try to generate edges using OpenCV morpological operations but i don't know if it's good idea.

ningerlove commented 2 years ago

where generate_edge.py

wxqlab commented 1 year ago

Hi, could you please provide the “generate_edge.py” for generating the edge images.

Thanks!

nttstar commented 1 year ago

@QingpingZheng

wxqlab commented 1 year ago

Dear all,

I have found the "generate_edge.py" from https://github.com/tegusi/EAGRNet/blob/master/generate_edge.py.

yeah