tegusi / EAGRNet

Edge-aware Graph Representation Learning and Reasoning for Face Parsing (ECCV 2020)
121 stars 21 forks source link

How could I reproduce the works? #8

Open inphantasm opened 2 years ago

inphantasm commented 2 years ago

Thank you for your generous sharing, at first. When trying to train a model with CelebAMask dataset, it tolds me that I need label_name.txt and some .npy files, how could I find them or produce them? Really appreciate if you could answer my question, 'cause it have confused me several days.

tegusi commented 2 years ago

The npy files are landmark files, you can generate them by OpenCV face alignment libraries. And label names are the same as original CelebAMask HQ.

inphantasm commented 2 years ago

Thanks a lot! Furthermore, since I updated the version of my Pytorch, it tolds me: File "D:\Anaconda\lib\site-packages\inplace_abn__init__.py", line 1, in from .abn import ABN, InPlaceABN, InPlaceABNSync File "D:\Anaconda\lib\site-packages\inplace_abn\abn.py", line 8, in from .functions import inplace_abn, inplace_abn_sync File "D:\Anaconda\lib\site-packages\inplace_abn\functions.py", line 8, in from . import _backend ImportError: DLL load failed: 找不到指定的程序。 Should I back off the version of my packages? Or it requires other .dll files?

tegusi commented 2 years ago

I have not tested it under Windows. Maybe you should install InPlaceABN first.