tencent-ailab / hifi3dface

Code and data for our paper "High-Fidelity 3D Digital Human Creation from RGB-D Selfies".
Other
756 stars 153 forks source link

detect_2Dlmk68 and create lmk_2D_68pts_ori.txt error #7

Open leeooo001 opened 3 years ago

leeooo001 commented 3 years ago

use the sample imges and run_data_preparation,detect 3dlmk success,but detect_2Dlmk68 and create lmk_2D_68pts_ori.txt error

File "y:/python/human/face/hifi3dface/hifi3dface-main/data_prepare/run_data_preparation.py", line 70, in detect_2Dlmk_all_imgs tf.import_graph_def(graph_def, name="") File "C:\leo\WPy64_3680_2\python-3.6.8.amd64\lib\site-packages\tensorflow_core\python\util\deprecation.py", line 507, in new_func return func(*args, **kwargs) File "C:\leo\WPy64_3680_2\python-3.6.8.amd64\lib\site-packages\tensorflow_core\python\framework\importer.py", line 405, in import_graph_def producer_op_list=producer_op_list) File "C:\leo\WPy64_3680_2\python-3.6.8.amd64\lib\site-packages\tensorflow_core\python\framework\importer.py", line 517, in _import_graph_def_internal _ProcessNewOps(graph) File "C:\leo\WPy64_3680_2\python-3.6.8.amd64\lib\site-packages\tensorflow_core\python\framework\importer.py", line 243, in _ProcessNewOps for new_op in graph._add_new_tf_operations(compute_devices=False): # pylint: disable=protected-access File "C:\leo\WPy64_3680_2\python-3.6.8.amd64\lib\site-packages\tensorflow_core\python\framework\ops.py", line 3561, in _add_new_tf_operations for c_op in c_api_util.new_tf_operations(self) File "C:\leo\WPy64_3680_2\python-3.6.8.amd64\lib\site-packages\tensorflow_core\python\framework\ops.py", line 3561, in for c_op in c_api_util.new_tf_operations(self) File "C:\leo\WPy64_3680_2\python-3.6.8.amd64\lib\site-packages\tensorflow_core\python\framework\ops.py", line 3451, in _create_op_from_tf_operation ret = Operation(c_op, self) File "C:\leo\WPy64_3680_2\python-3.6.8.amd64\lib\site-packages\tensorflow_core\python\framework\ops.py", line 1748, in init self._traceback = tf_stack.extract_stack()

cyj907 commented 3 years ago

use the sample imges and run_data_preparation,detect 3dlmk success,but detect_2Dlmk68 and create lmk_2D_68pts_ori.txt error

File "y:/python/human/face/hifi3dface/hifi3dface-main/data_prepare/run_data_preparation.py", line 70, in detect_2Dlmk_all_imgs tf.import_graph_def(graph_def, name="") File "C:\leo\WPy64_3680_2\python-3.6.8.amd64\lib\site-packages\tensorflow_core\python\util\deprecation.py", line 507, in new_func return func(*args, kwargs) File "C:\leo\WPy64_3680_2\python-3.6.8.amd64\lib\site-packages\tensorflow_core\python\framework\importer.py", line 405, in import_graph_def producer_op_list=producer_op_list) File "C:\leo\WPy64_3680_2\python-3.6.8.amd64\lib\site-packages\tensorflow_core\python\framework\importer.py", line 517, in _import_graph_def_internal _ProcessNewOps(graph) File "C:\leo\WPy64_3680_2\python-3.6.8.amd64\lib\site-packages\tensorflow_core\python\framework\importer.py", line 243, in _ProcessNewOps for new_op in graph._add_new_tf_operations(compute_devices=False): # pylint: disable=protected-access File "C:\leo\WPy64_3680_2\python-3.6.8.amd64\lib\site-packages\tensorflow_core\python\framework\ops.py", line 3561, in _add_new_tf_operations for c_op in c_api_util.new_tf_operations(self) File "C:\leo\WPy64_3680_2\python-3.6.8.amd64\lib\site-packages\tensorflow_core\python\framework\ops.py", line 3561, in for c_op in c_api_util.new_tf_operations(self) File "C:\leo\WPy64_3680_2\python-3.6.8.amd64\lib\site-packages\tensorflow_core\python\framework\ops.py", line 3451, in _create_op_from_tf_operation ret = Operation(c_op, self) File "C:\leo\WPy64_3680_2\python-3.6.8.amd64\lib\site-packages\tensorflow_core\python\framework\ops.py", line 1748, in init** self._traceback = tf_stack.extract_stack()

Please check the pb file integrity. We notice that files downloaded from google drive can be damaged.

bsraina commented 2 years ago

hello dear are you able to run this projet sucsessfully?

if yes then please help how to run this and get results on my own picture

when i was try to run it get error help me if you can thank you in advance.

File "../../utils/unwrap_utils.py", line 155, in warp_ver_to_uv [-1] vt_attrs_list.shape[2].value, File "../../third_party/rasterize_triangles.py", line 123, in rasterize_clip_space image_height, File "", line 230, in rasterize_triangles File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/framework/op_def_library.py", line 794, in _apply_op_helper op_def=op_def) File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/util/deprecation.py", line 507, in new_func return func(args, **kwargs) File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/framework/ops.py", line 3357, in create_op attrs, op_def, compute_device) File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/framework/ops.py", line 3426, in _create_op_internal op_def=op_def) File "/usr/local/lib/python3.7/dist-packages/tensorflow_core/python/framework/ops.py", line 1748, in init self._traceback = tf_stack.extract_stack()

(step 4) prefit uv failed