-
Notifications
You must be signed in to change notification settings - Fork 355
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cache_on_fail error #134
Comments
请问你这个问题解决了么。是怎么解决的 |
I am having this issue too, commenting for updates. |
hi @adampelah, @DannyYCCheng, the flag was missing, commit |
Hi Arash, thanks for the speedy response. I am getting this error now, any suggestions? File "src/openpose_3dpose_sandbox.py", line 393, in main |
@adampelah, it probably comes from the fact that no skeleton was recognized in the frame, "poses3d" is None. can you send me your frames.json's please? |
Yes, here is one of my keypoint files, I'm using tf-pose-estimation webcam data: |
can you send me also the corrupt frame, it must be on the beginning. or send me all as zip. thx |
This comment has been minimized.
This comment has been minimized.
46 kb...., check the zip please, is corrupt. thx |
I have zipped it again: |
@adampelah where are the jsons coming from? thc |
jsons are coming from running: python run_webcam.py --model=mobilenet_thin --resize=432x368 --camera=0 --output_json tmp/ |
@adampelah , |
Awesome, thank you, but now my 3d_data.json is empty in my maya folder, whereas there is a 2d_data.json that is not. |
@adampelah , remove line 393 and move the if body back like:
|
Hi, getting this error again: heckpoint-4874200 |
@adampelah , try it with
let it me know how its end please. thx |
This is how that ends: Traceback (most recent call last): So at least it's getting past tolist now |
Pose3d is none for this frame, p3d also. Please upload the images and jsons please, we can not do much about it, we need better skeleton in frame |
How is this for a dataset? Was in T-pose for a couple of seconds update: For the above set, I removed the nulls and I have output in 3d_maya, side note, if i dont remove "ax.set_aspect('equal')" from viz.py (line 55), I get this error: 'It is not currently possible to manually set the aspect ' I assume this is just a visualization error. Below is the updated keypoints anfd resulting 3d coordinates file: How could I split the arrays in the 3d_data to joint centers such as leftankle: X, Y, Z, righthip: X, Y, Z etc. ? |
data.zip
that happen in 9_keypoints.json some where . when i delete 1~9 keypoints.json file
the generate 109 object . why not 10? thank you. |
@Montage-LSM i think frame 0 is missing, try to rename your json files with 0 like str(0).zfill(12).json or where are json's coming from? Naming convention looks like: 000000000000_keypoints.json, 000000000001_keypoints.json, ... |
hi @adampelah ,i am running tmp2.zip with
and
can you explain this one little more please, because its already like this. See https://github.com/ArashHosseini/3d-pose-baseline/blob/c50136745e744321db7700f066ddcd454e55d3b2/maya/maya_skeleton.py#L122 joint leftankle is nr. 8 and righthip is nr. 1, so in the 3d_json data[frame_id][8]["translate"] is the leftankle center pos. You do not really need to make a t-pose, it is important that all body parts are recognized at the beginning of the recording, that was my point. |
hi ,i can't run because, maya module not true install. will ↓↓↓ Can you write it in another module?
CMD-openpose-output.md#keypoint-ordering thk |
Hi Arash, thanks for the help. How does 3d-pose-baseline deal with two or more people in view? Also, am I correct in assuming that if no data is detected for any frame that the program will not run through, as indicated by the following error: File "src/openpose_3dpose_sandbox.py", line 56, in read_openpose_json |
I can't run too, even in maya, have you solved it yet? |
I've given up Maya ,use other way to Solve ,2D to 3D . |
@Montage-LSM, @Sunlolo hi, the 3D information is already included in 3d_json file. Maya is a dcc application, the maya_skeleton.py file is Reading the information from the json and will build the skeleton incl. animation inside maya. So the 3D information already exists, how to visualize them need your own implementation. In this example I used maya but you can use any application which supports 3D space |
I had 3d_data. json file with the information of animation inside. But the code maya_skeleton.py not work. No error, no result. Look like I have to watch an ice cream melt down but i cant eat:((( huhu. Pls help me. |
Ohh, I've just used other solution, it works but I have to polish more on other DDC! Thanks all! |
@ArashHosseini {"0": {"0": {"translate": [-526.1015, 0.0, 607.4599038791717]}, "1": {"translate": [-606.7712571744592, 29.97365833193502, 638.2196033433054]}, "2": {"translate": [-683.1806852983734, 171.87800074669218, 279.8027711993891]}, "3": {"translate": [-714.030891594344, 390.4970673693886, -77.76505558036922]}, "4": {"translate": [-537.657563267619, 166.4772871982283, -134.68982145646862]}, "5": {"translate": [-537.946210199349, 165.18243684504364, -129.30315982730815]}, "6": {"translate": [-445.43285665586234, -29.973443387552578, 576.7004995146641]}, "7": {"translate": [-499.75722631374884, 121.42663686711519, 238.5431372224732]}, "8": {"translate": [-550.1535947989404, 363.988289668462, -107.27378900129531]}, "9": {"translate": [-537.365739970135, 166.6659767910167, -141.17695967542193]}, "10": {"translate": [-537.5105839502969, 163.7138100370406, -128.9751602875624]}, "11": {"translate": [-526.1002833915534, -0.01930005762655072, 607.5459149420274]}, "12": {"translate": [-499.87202187496564, -26.61874063376613, 835.055043621851]}, "13": {"translate": [-475.8117986787387, -112.42617185678813, 1035.7197975766026]}, "14": {"translate": [-439.8537566033963, -199.451716900107, 1063.0729705381896]}, "15": {"translate": [-452.44471060108236, -231.50227397453443, 1148.6178635545934]}, "16": {"translate": [-520.4261219592483, -97.69740161233229, 1042.5488095847027]}, "17": {"translate": [-408.63967136553026, -111.85311367097354, 986.3771425322485]}, "18": {"translate": [-365.9497424565642, -67.73806016069622, 790.9269943829225]}, "19": {"translate": [-363.08233813103004, -120.60851276251215, 794.7117299453738]}, "20": {"translate": [-524.8356417832787, -28.252604914874993, 727.6304829044149]}, "21": {"translate": [-524.5224930199741, -35.20805483993427, 759.2401527447777]}, "22": {"translate": [-525.2169560070349, -25.630718856450596, 715.2552596886231]}, "23": {"translate": [-525.2169560070349, -25.630718856450596, 715.2552596886231]}, "24": {"translate": [-520.4261219592483, -97.69740161233229, 1042.5488095847027]}, "25": {"translate": [-549.8917365859593, -69.97311237138264, 1014.4026267751934]}, "26": {"translate": [-662.948456634721, -33.19492204049863, 808.0838707092807]}, "27": {"translate": [-575.7107548961184, -112.22372509620712, 837.017167057752]}, "28": {"translate": [-525.2309309858509, -37.39024980077856, 776.1244729034435]}, "29": {"translate": [-524.7016748750068, -44.720787499855874, 808.3441561693281]}, "30": {"translate": [-525.5769088854704, -36.83428638678265, 773.3276775468152]}, "31": {"translate": [-525.5769088854704, -36.83428638678265, 773.3276775468152]}}, |
hey!! do you find any solution for this? I am facing the same problem |
Hey bro,may I ask your h36m dataset's structure?I think I lost some data,such as actions(.h5 file) |
AttributeError: 'NoneType' object has no attribute 'model_checkpoint_path' |
I am using @ArashHosseini 's version (using it with tf-pose-estimation), and I get a cache_on_fail error:
The code are downloaded directly from ArashHosseini's github, the only change I have made is in line 56 of openpose_3dpose_sandbox.py:
_data = data["people"][0]["pose_keypoints"]
to
_data = data["people"][0]["pose_keypoints_2d"]
Based on the output of both OpenPose and tf-pose-estimation.
I can include the original images/json outputs/rendered outputs from OpenPose if required.
Command used:
python3 src/tf-pose-estimation_3dpose_sandbox.py --camera_frame --residual --batch_norm --dropout 0.5 --max_norm --evaluateActionWise --use_sh --epochs 200 --load 4874200 --pose_estimation_json /data/3d-pose-baseline/MM_json/ --write_gif --gif_fps 30
The text was updated successfully, but these errors were encountered: