AttributeError: module 'face3d' has no attribute 'head_mesh'
I tried running: python3 scripts/pix2face_demo.py
output:
/usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
return f(*args, **kwds)
/usr/lib/python3.5/importlib/_bootstrap.py:222: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
return f(*args, **kwds)
loading /home/drive/pix2face/data/models/pix2face_unet_v10_pytorch0.4_cpu.pt ...
...done.
Estimating PNCC + Offsets..
..Done
Traceback (most recent call last):
File "scripts/pix2face_demo.py", line 38, in
@decrispell @andyneff @deuscovrigus I meet the same error,Could you help me to deal with it?Thanks!
From what it looks like, I believe you built face3d against a different python than the one you're importing face3d in. The safest way is to activate a virtualenv and build face3d in it. That way you will ensure cmake picks up the correct python libs.