Hello @ArashHosseini !
I have been experiencing issues to run your repository.
My operating system is Lunux Ubuntu
My TensorFlow error is 2.0, but I have tried to replace the import of TensorFlow by tensorflow.compat.v1
My python version is 3.7
The error I get when I run the openpose_3dpose_sandbox.py over the directory in which my json files are stored is the following:
File "src/openpose_3dpose_sandbox.py", line 230, in main
smoothed = read_openpose_json()
File "src/openpose_3dpose_sandbox.py", line 56, in read_openpose_json
_data = data["people"][0]["pose_keypoints_2d"] if "pose_keypoints_2d" in data["people"][0] else data["people"][0]["pose_keypoints"]
IndexError: list index out of range
This is what one of the json files contains:
{"people": [{"pose_keypoints_2d": [603, 149, 621, 188, 529, 192, 463, 297, 446, 184, 717, 184, 800, 290, 817, 176, 573, 458, 507, 622, 0.0, 0.0, 686, 454, 752, 622, 0.0, 0.0, 586, 133, 621, 133, 568, 133, 647, 133]}]}
Hello @ArashHosseini !
I have been experiencing issues to run your repository.
My operating system is Lunux Ubuntu
My TensorFlow error is 2.0, but I have tried to replace the import of TensorFlow by tensorflow.compat.v1
My python version is 3.7
The error I get when I run the openpose_3dpose_sandbox.py over the directory in which my json files are stored is the following:
File "src/openpose_3dpose_sandbox.py", line 230, in main
smoothed = read_openpose_json()
File "src/openpose_3dpose_sandbox.py", line 56, in read_openpose_json
_data = data["people"][0]["pose_keypoints_2d"] if "pose_keypoints_2d" in data["people"][0] else data["people"][0]["pose_keypoints"]
IndexError: list index out of range
This is what one of the json files contains:
{"people": [{"pose_keypoints_2d": [603, 149, 621, 188, 529, 192, 463, 297, 446, 184, 717, 184, 800, 290, 817, 176, 573, 458, 507, 622, 0.0, 0.0, 686, 454, 752, 622, 0.0, 0.0, 586, 133, 621, 133, 568, 133, 647, 133]}]}