caizhongang
commited on
Commit
•
c8538d1
1
Parent(s):
02e54ed
fix annotations for SMPL-X_subset: remove frame-0 which is T-pose
Browse files
SMPL-X_subset/Synbody_v1_0_sampled-smpl.zip
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5378e2b1a07cbc73ca6b8a682c20f31417880dcb2b60b0644dd6ab47c53348a4
|
3 |
+
size 755794489
|
SMPL-X_subset/Synbody_v1_0_sampled-smplx.zip
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3e40fbe308a4dc76de9333b438d62c40983fd3a5bd97121bca71e8e99e880964
|
3 |
+
size 1941843369
|
SMPL-X_subset/visualize_2d.py
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
"""
|
2 |
For examples:
|
3 |
|
4 |
-
>>> python
|
5 |
-
--seq_dir synbody_v1_0/20230113/Downtown/
|
6 |
-
--
|
7 |
-
--save_path vis/
|
8 |
"""
|
9 |
|
10 |
from pathlib import Path
|
@@ -32,7 +32,7 @@ def load_data(seq_dir):
|
|
32 |
seq_dir = Path(seq_dir)
|
33 |
# load images
|
34 |
frame_paths = sorted(seq_dir.glob('rgb/*.jpeg'))
|
35 |
-
images = [cv2.imread(p) for p in frame_paths]
|
36 |
|
37 |
# load parameters
|
38 |
person_paths = sorted(seq_dir.glob('smplx/*.npz'))
|
|
|
1 |
"""
|
2 |
For examples:
|
3 |
|
4 |
+
>>> python visualize_2d.py \
|
5 |
+
--seq_dir synbody_v1_0/20230113/Downtown/LS_0114_004551_088_CAM002 \
|
6 |
+
--body_model {path_to_body_model} \
|
7 |
+
--save_path vis/LS_0114_004551_088_CAM002.mp4
|
8 |
"""
|
9 |
|
10 |
from pathlib import Path
|
|
|
32 |
seq_dir = Path(seq_dir)
|
33 |
# load images
|
34 |
frame_paths = sorted(seq_dir.glob('rgb/*.jpeg'))
|
35 |
+
images = [cv2.imread(str(p)) for p in frame_paths]
|
36 |
|
37 |
# load parameters
|
38 |
person_paths = sorted(seq_dir.glob('smplx/*.npz'))
|