georgegu1997 / makeup-transfer-public

17 stars 3 forks source link

face_utils #1

Open junyizeng opened 2 years ago

junyizeng commented 2 years ago

研发人员您好,我按照environment.yml中的环境配置建立好了虚拟环境,但在运行时中发现 helper.py中的face_utils没有定义,请问face_utils是什么?如何定义?

junyizeng commented 2 years ago

各位研发人员您好,在terminal运行 handle_dataset.py时遇到了如下问题: makeup-transfer) cqnu@cqnu-F3:/media/cqnu/data/zjy/makeup-transfer-public$ python ./src/handle_dataset.py --type filter --input ../data/raw/before --output ../data/filter/before --detector stasm Traceback (most recent call last): File "./src/handle_dataset.py", line 13, in from helpers import FaceCropper, cropFaceBBox, combineApiLandmark File "/media/cqnu/data/zjy/makeup-transfer-public/src/helpers.py", line 17, in from facemorpher import locator, aligner, blender File "/home/cqnu/anaconda3/envs/makeup-transfer/lib/python3.7/site-packages/facemorpher/init.py", line 4, in from .morpher import morpher, list_imgpaths File "/home/cqnu/anaconda3/envs/makeup-transfer/lib/python3.7/site-packages/facemorpher/morpher.py", line 34, in from facemorpher import locator File "/home/cqnu/anaconda3/envs/makeup-transfer/lib/python3.7/site-packages/facemorpher/locator.py", line 7, in import stasm File "/home/cqnu/anaconda3/envs/makeup-transfer/lib/python3.7/site-packages/stasm/init.py", line 3, in from _stasm import doc ImportError: /home/cqnu/anaconda3/envs/makeup-transfer/lib/python3.7/site-packages/_stasm.cpython-37m-x86_64-linux-gnu.so: undefined symbol: _ZTVN2cv12_OutputArrayE 请问各位研发人员是否遇到过该问题,如何解决?