Spaces:
Sleeping
Sleeping
quantumiracle-git
commited on
Commit
·
afb5083
1
Parent(s):
45074af
Upload 52 files
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +24 -0
- robotinder-data/.gitignore +1 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-0.gif +3 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-0.mp4 +0 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-1.gif +3 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-1.mp4 +0 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-2.gif +3 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-2.mp4 +0 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-3.gif +3 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-3.mp4 +0 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-4.gif +3 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-4.mp4 +0 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-5.gif +3 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-5.mp4 +0 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-6.gif +3 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-6.mp4 +0 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-7.gif +3 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-7.mp4 +0 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-8.gif +3 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-8.mp4 +0 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-9.gif +3 -0
- robotinder-data/ShadowHandBlockStack/rl-video-episode-9.mp4 +0 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-0.gif +3 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-0.mp4 +0 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-1.gif +3 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-1.mp4 +0 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-2.gif +3 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-2.mp4 +0 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-3.gif +3 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-3.mp4 +0 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-4.gif +3 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-4.mp4 +0 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-5.gif +3 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-5.mp4 +0 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-6.gif +3 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-6.mp4 +0 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-7.gif +3 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-7.mp4 +0 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-8.gif +3 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-8.mp4 +0 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-9.gif +3 -0
- robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-9.mp4 +0 -0
- robotinder-data/data_info.json +1 -0
- robotinder-data/data_parser.py +27 -0
- robotinder-data/mp4togif.py +17 -0
- robotinder-data/rl-video-episode-0.gif +3 -0
- robotinder-data/rl-video-episode-0.mp4 +0 -0
- robotinder-data/rl-video-episode-1.gif +3 -0
- robotinder-data/rl-video-episode-1.mp4 +0 -0
- robotinder-data/rl-video-episode-2.gif +3 -0
.gitattributes
CHANGED
@@ -56,3 +56,27 @@ videos/ShadowHandDoorOpenInward/rl-video-episode-6.gif filter=lfs diff=lfs merge
|
|
56 |
videos/ShadowHandDoorOpenInward/rl-video-episode-7.gif filter=lfs diff=lfs merge=lfs -text
|
57 |
videos/ShadowHandDoorOpenInward/rl-video-episode-8.gif filter=lfs diff=lfs merge=lfs -text
|
58 |
videos/ShadowHandDoorOpenInward/rl-video-episode-9.gif filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
videos/ShadowHandDoorOpenInward/rl-video-episode-7.gif filter=lfs diff=lfs merge=lfs -text
|
57 |
videos/ShadowHandDoorOpenInward/rl-video-episode-8.gif filter=lfs diff=lfs merge=lfs -text
|
58 |
videos/ShadowHandDoorOpenInward/rl-video-episode-9.gif filter=lfs diff=lfs merge=lfs -text
|
59 |
+
robotinder-data/rl-video-episode-0.gif filter=lfs diff=lfs merge=lfs -text
|
60 |
+
robotinder-data/rl-video-episode-1.gif filter=lfs diff=lfs merge=lfs -text
|
61 |
+
robotinder-data/rl-video-episode-2.gif filter=lfs diff=lfs merge=lfs -text
|
62 |
+
robotinder-data/rl-video-episode-3.gif filter=lfs diff=lfs merge=lfs -text
|
63 |
+
robotinder-data/ShadowHandBlockStack/rl-video-episode-0.gif filter=lfs diff=lfs merge=lfs -text
|
64 |
+
robotinder-data/ShadowHandBlockStack/rl-video-episode-1.gif filter=lfs diff=lfs merge=lfs -text
|
65 |
+
robotinder-data/ShadowHandBlockStack/rl-video-episode-2.gif filter=lfs diff=lfs merge=lfs -text
|
66 |
+
robotinder-data/ShadowHandBlockStack/rl-video-episode-3.gif filter=lfs diff=lfs merge=lfs -text
|
67 |
+
robotinder-data/ShadowHandBlockStack/rl-video-episode-4.gif filter=lfs diff=lfs merge=lfs -text
|
68 |
+
robotinder-data/ShadowHandBlockStack/rl-video-episode-5.gif filter=lfs diff=lfs merge=lfs -text
|
69 |
+
robotinder-data/ShadowHandBlockStack/rl-video-episode-6.gif filter=lfs diff=lfs merge=lfs -text
|
70 |
+
robotinder-data/ShadowHandBlockStack/rl-video-episode-7.gif filter=lfs diff=lfs merge=lfs -text
|
71 |
+
robotinder-data/ShadowHandBlockStack/rl-video-episode-8.gif filter=lfs diff=lfs merge=lfs -text
|
72 |
+
robotinder-data/ShadowHandBlockStack/rl-video-episode-9.gif filter=lfs diff=lfs merge=lfs -text
|
73 |
+
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-0.gif filter=lfs diff=lfs merge=lfs -text
|
74 |
+
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-1.gif filter=lfs diff=lfs merge=lfs -text
|
75 |
+
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-2.gif filter=lfs diff=lfs merge=lfs -text
|
76 |
+
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-3.gif filter=lfs diff=lfs merge=lfs -text
|
77 |
+
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-4.gif filter=lfs diff=lfs merge=lfs -text
|
78 |
+
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-5.gif filter=lfs diff=lfs merge=lfs -text
|
79 |
+
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-6.gif filter=lfs diff=lfs merge=lfs -text
|
80 |
+
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-7.gif filter=lfs diff=lfs merge=lfs -text
|
81 |
+
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-8.gif filter=lfs diff=lfs merge=lfs -text
|
82 |
+
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-9.gif filter=lfs diff=lfs merge=lfs -text
|
robotinder-data/.gitignore
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
rl*.mp4
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-0.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-0.mp4
ADDED
Binary file (271 kB). View file
|
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-1.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-1.mp4
ADDED
Binary file (329 kB). View file
|
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-2.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-2.mp4
ADDED
Binary file (309 kB). View file
|
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-3.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-3.mp4
ADDED
Binary file (315 kB). View file
|
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-4.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-4.mp4
ADDED
Binary file (329 kB). View file
|
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-5.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-5.mp4
ADDED
Binary file (283 kB). View file
|
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-6.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-6.mp4
ADDED
Binary file (308 kB). View file
|
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-7.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-7.mp4
ADDED
Binary file (332 kB). View file
|
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-8.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-8.mp4
ADDED
Binary file (309 kB). View file
|
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-9.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandBlockStack/rl-video-episode-9.mp4
ADDED
Binary file (315 kB). View file
|
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-0.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-0.mp4
ADDED
Binary file (248 kB). View file
|
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-1.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-1.mp4
ADDED
Binary file (237 kB). View file
|
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-2.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-2.mp4
ADDED
Binary file (214 kB). View file
|
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-3.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-3.mp4
ADDED
Binary file (201 kB). View file
|
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-4.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-4.mp4
ADDED
Binary file (247 kB). View file
|
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-5.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-5.mp4
ADDED
Binary file (199 kB). View file
|
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-6.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-6.mp4
ADDED
Binary file (233 kB). View file
|
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-7.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-7.mp4
ADDED
Binary file (238 kB). View file
|
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-8.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-8.mp4
ADDED
Binary file (204 kB). View file
|
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-9.gif
ADDED
Git LFS Details
|
robotinder-data/ShadowHandDoorOpenInward/rl-video-episode-9.mp4
ADDED
Binary file (215 kB). View file
|
|
robotinder-data/data_info.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"idx": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], "env": ["ShadowHandBlockStack", "ShadowHandBlockStack", "ShadowHandBlockStack", "ShadowHandBlockStack", "ShadowHandBlockStack", "ShadowHandBlockStack", "ShadowHandBlockStack", "ShadowHandBlockStack", "ShadowHandBlockStack", "ShadowHandBlockStack", "ShadowHandDoorOpenInward", "ShadowHandDoorOpenInward", "ShadowHandDoorOpenInward", "ShadowHandDoorOpenInward", "ShadowHandDoorOpenInward", "ShadowHandDoorOpenInward", "ShadowHandDoorOpenInward", "ShadowHandDoorOpenInward", "ShadowHandDoorOpenInward", "ShadowHandDoorOpenInward"], "name": ["rl-video-episode-1.gif", "rl-video-episode-9.gif", "rl-video-episode-7.gif", "rl-video-episode-2.gif", "rl-video-episode-3.gif", "rl-video-episode-6.gif", "rl-video-episode-0.gif", "rl-video-episode-4.gif", "rl-video-episode-5.gif", "rl-video-episode-8.gif", "rl-video-episode-1.gif", "rl-video-episode-9.gif", "rl-video-episode-7.gif", "rl-video-episode-2.gif", "rl-video-episode-3.gif", "rl-video-episode-6.gif", "rl-video-episode-0.gif", "rl-video-episode-4.gif", "rl-video-episode-5.gif", "rl-video-episode-8.gif"]}
|
robotinder-data/data_parser.py
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import json
|
2 |
+
|
3 |
+
from os import listdir
|
4 |
+
from os.path import isfile, join, isdir
|
5 |
+
mypath = './'
|
6 |
+
onlyfolders = [f for f in listdir(mypath) if isdir(join(mypath, f))]
|
7 |
+
|
8 |
+
idx = 0
|
9 |
+
data_info = {'idx': [], 'env': [], 'name': []}
|
10 |
+
for folder in onlyfolders:
|
11 |
+
print(folder)
|
12 |
+
fs = [join(mypath, folder, f) for f in listdir(join(mypath, folder)) if isfile(join(mypath, folder, f))]
|
13 |
+
# print(fs)
|
14 |
+
for f in fs:
|
15 |
+
if f.endswith(".gif"):
|
16 |
+
idx += 1
|
17 |
+
data_info['idx'].append(idx)
|
18 |
+
data_info['env'].append(folder)
|
19 |
+
data_info['name'].append(f.split('/')[-1])
|
20 |
+
|
21 |
+
with open('data_info.json', 'w') as f:
|
22 |
+
json.dump(data_info, f)
|
23 |
+
|
24 |
+
with open('data_info.json', 'r') as f:
|
25 |
+
data_info = json.load(f)
|
26 |
+
print(data_info)
|
27 |
+
|
robotinder-data/mp4togif.py
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from moviepy.editor import VideoFileClip
|
2 |
+
|
3 |
+
from os import listdir
|
4 |
+
from os.path import isfile, join, isdir
|
5 |
+
mypath = './'
|
6 |
+
onlyfolders = [f for f in listdir(mypath) if isdir(join(mypath, f))]
|
7 |
+
|
8 |
+
for folder in onlyfolders:
|
9 |
+
print(folder)
|
10 |
+
fs = [join(mypath, folder, f) for f in listdir(join(mypath, folder)) if isfile(join(mypath, folder, f))]
|
11 |
+
print(fs)
|
12 |
+
for f in fs:
|
13 |
+
if f.endswith(".mp4"):
|
14 |
+
clip = VideoFileClip(f)
|
15 |
+
clip = clip.resize(height=512)
|
16 |
+
clip = clip.set_fps(10)
|
17 |
+
clip.write_gif(f.replace('.mp4', '.gif'), program='ffmpeg')
|
robotinder-data/rl-video-episode-0.gif
ADDED
Git LFS Details
|
robotinder-data/rl-video-episode-0.mp4
ADDED
Binary file (271 kB). View file
|
|
robotinder-data/rl-video-episode-1.gif
ADDED
Git LFS Details
|
robotinder-data/rl-video-episode-1.mp4
ADDED
Binary file (329 kB). View file
|
|
robotinder-data/rl-video-episode-2.gif
ADDED
Git LFS Details
|