lingangu commited on
Commit
84953a8
·
1 Parent(s): 6907608

fix: sw to van. and file path

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,12 +1,49 @@
1
  ---
2
  title: Try Pi05
3
- emoji: 📚
4
- colorFrom: purple
5
- colorTo: gray
6
  sdk: static
7
  pinned: false
8
  license: wtfpl
9
- short_description: 试一下lebero
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  title: Try Pi05
3
+ emoji: 🖼️
4
+ colorFrom: yellow
5
+ colorTo: red
6
  sdk: static
7
  pinned: false
8
  license: wtfpl
9
+ short_description: 试玩pi0.5里面的4中LEBERO任务
10
  ---
11
 
12
+ # LIBERO single-task demo
13
+
14
+ Date: 2026-08-25
15
+
16
+ ## Result
17
+
18
+ - Checkpoint: `pi05_libero`
19
+ - Task suite: `libero_spatial`
20
+ - Task id: `9`
21
+ - BDDL: `pick_up_the_black_bowl_on_the_wooden_cabinet_and_place_it_on_the_plate.bddl`
22
+ - Policy server: existing OpenPI server on `127.0.0.1:8000`
23
+ - Result: `done=True` / success
24
+ - Rollout: 174 frames, 17.4 seconds at 10 FPS
25
+
26
+ ## Artifacts
27
+
28
+ - `videos/single_success.mp4`
29
+ - `videos/mid_frame.jpg`
30
+ - `logs/single_task.log`
31
+ - `libero_config/config.yaml`
32
+ - `libero_single_task.py`
33
+ - `openpi_libero_helpers.py`
34
+
35
+ ## Additional suites
36
+
37
+ - `libero_object`, task 0 (`pick_up_the_alphabet_soup_and_place_it_in_the_basket.bddl`): `done=True`, 155 frames, `videos/libero_object_success.mp4`.
38
+ - `libero_goal`, task 0 (`open_the_middle_drawer_of_the_cabinet.bddl`): `done=True`, 114 frames, `videos/libero_goal_success.mp4`.
39
+ - `libero_10`, task 0 and a retry with task 1: both completed the rollout horizon with `done=False`; the latest result is `videos/libero_10_failure.mp4`. Logs are `logs/libero_10.log` and `logs/libero_10_retry.log`.
40
+
41
+ ## Environment notes
42
+
43
+ The official LIBERO source was downloaded from:
44
+ `https://github.com/Lifelong-Robot-Learning/LIBERO`
45
+
46
+ The existing OpenPI source and checkpoint were reused. No OpenPI source files were edited.
47
+ The legacy LIBERO init-state loader calls `torch.load` without `weights_only=False`, which fails with the installed PyTorch 2.6 behavior. The runner handles this in its own code with `weights_only=False` for the trusted official init-state file.
48
+
49
+ The `datasets` directory is not needed for this inference rollout; BDDL files, init states, and simulation assets are present.
index.html CHANGED
@@ -1,19 +1,86 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>LIBERO Task Videos</title>
7
+
8
+ <style>
9
+ body {
10
+ max-width: 1000px;
11
+ margin: 40px auto;
12
+ padding: 0 20px;
13
+ font-family: Arial, sans-serif;
14
+ }
15
+
16
+ .task {
17
+ margin-bottom: 40px;
18
+ }
19
+
20
+ video {
21
+ width: 100%;
22
+ max-width: 400px;
23
+ display: block;
24
+ margin: 10px 0;
25
+ }
26
+
27
+ a {
28
+ display: inline-block;
29
+ margin-top: 10px;
30
+ }
31
+ </style>
32
+ </head>
33
+
34
+ <body>
35
+
36
+ <h2>LIBERO 每个类别试了一种</h2>
37
+
38
+ <div class="task">
39
+ <h2>libero_spatial</h2>
40
+ <p><strong>Prompt:</strong> <code>pick up the black bowl on the wooden cabinet and place it on the plate</code></p>
41
+
42
+ <video controls>
43
+ <source src="videos/libero_spatial.mp4" type="video/mp4">
44
+ </video>
45
+
46
+ <a href="logs/libero_spatial.log" download>下载日志</a>
47
+ </div>
48
+
49
+
50
+ <div class="task">
51
+ <h2>libero_object</h2>
52
+ <p><strong>Prompt:</strong> <code>pick up the alphabet soup and place it in the basket</code></p>
53
+
54
+ <video controls>
55
+ <source src="videos/libero_object.mp4" type="video/mp4">
56
+ </video>
57
+
58
+ <a href="logs/libero_object.log" download>下载日志</a>
59
+ </div>
60
+
61
+
62
+ <div class="task">
63
+ <h2>libero_goal</h2>
64
+ <p><strong>Prompt:</strong> <code>open the middle drawer of the cabinet</code></p>
65
+
66
+ <video controls>
67
+ <source src="videos/libero_goal.mp4" type="video/mp4">
68
+ </video>
69
+
70
+ <a href="logs/libero_goal.log" download>下载日志</a>
71
+ </div>
72
+
73
+
74
+ <div class="task">
75
+ <h2>libero_10</h2>
76
+ <p><strong>Prompt:</strong> <code>put both the alphabet soup and the tomato sauce in the basket</code></p>
77
+
78
+ <video controls>
79
+ <source src="videos/libero_10.mp4" type="video/mp4">
80
+ </video>
81
+
82
+ <a href="logs/libero_10.log" download>下载日志</a>
83
+ </div>
84
+
85
+ </body>
86
+ </html>
logs/libero_10.log ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [robosuite WARNING] No private macro file found! (__init__.py:7)
2
+ [robosuite WARNING] It is recommended to use a private macro file (__init__.py:8)
3
+ [robosuite WARNING] To setup, run: python /data2/xuyunbo/InternNav/.venv-openpi/lib/python3.11/site-packages/robosuite/scripts/setup_macros.py (__init__.py:9)
4
+ Gym has been unmaintained since 2022 and does not support NumPy 2.0 amongst other critical functionality.
5
+ Please upgrade to Gymnasium, the maintained drop-in replacement of Gym, or contact the authors of your software and request that they upgrade.
6
+ See the migration guide at https://gymnasium.farama.org/introduction/migration_guide/ for additional information.
7
+ INFO:root:Waiting for server at ws://127.0.0.1:8000...
8
+ INFO:root:task=put both the alphabet soup and the tomato sauce in the basket task_id=0 done=False frames=220 video=/data2/xuyunbo/xly/0824/videos/libero_10_failure.mp4
9
+ [info] using task orders [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
10
+ [Warning]: datasets path /data2/xuyunbo/InternNav/.external/openpi-src/third_party/libero/libero/datasets does not exist!
11
+ [Warning]: datasets path /data2/xuyunbo/InternNav/.external/openpi-src/third_party/libero/libero/datasets does not exist!
logs/libero_goal.log ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [robosuite WARNING] No private macro file found! (__init__.py:7)
2
+ [robosuite WARNING] It is recommended to use a private macro file (__init__.py:8)
3
+ [robosuite WARNING] To setup, run: python /data2/xuyunbo/InternNav/.venv-openpi/lib/python3.11/site-packages/robosuite/scripts/setup_macros.py (__init__.py:9)
4
+ Gym has been unmaintained since 2022 and does not support NumPy 2.0 amongst other critical functionality.
5
+ Please upgrade to Gymnasium, the maintained drop-in replacement of Gym, or contact the authors of your software and request that they upgrade.
6
+ See the migration guide at https://gymnasium.farama.org/introduction/migration_guide/ for additional information.
7
+ INFO:root:Waiting for server at ws://127.0.0.1:8000...
8
+ INFO:root:task=open the middle drawer of the cabinet task_id=0 done=True frames=114 video=/data2/xuyunbo/xly/0824/videos/libero_goal_success.mp4
9
+ [info] using task orders [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
10
+ [Warning]: datasets path /data2/xuyunbo/InternNav/.external/openpi-src/third_party/libero/libero/datasets does not exist!
11
+ [Warning]: datasets path /data2/xuyunbo/InternNav/.external/openpi-src/third_party/libero/libero/datasets does not exist!
logs/libero_object.log ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [robosuite WARNING] No private macro file found! (__init__.py:7)
2
+ [robosuite WARNING] It is recommended to use a private macro file (__init__.py:8)
3
+ [robosuite WARNING] To setup, run: python /data2/xuyunbo/InternNav/.venv-openpi/lib/python3.11/site-packages/robosuite/scripts/setup_macros.py (__init__.py:9)
4
+ Gym has been unmaintained since 2022 and does not support NumPy 2.0 amongst other critical functionality.
5
+ Please upgrade to Gymnasium, the maintained drop-in replacement of Gym, or contact the authors of your software and request that they upgrade.
6
+ See the migration guide at https://gymnasium.farama.org/introduction/migration_guide/ for additional information.
7
+ INFO:root:Waiting for server at ws://127.0.0.1:8000...
8
+ INFO:root:task=pick up the alphabet soup and place it in the basket task_id=0 done=True frames=155 video=/data2/xuyunbo/xly/0824/videos/libero_object_success.mp4
9
+ [info] using task orders [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
10
+ [Warning]: datasets path /data2/xuyunbo/InternNav/.external/openpi-src/third_party/libero/libero/datasets does not exist!
11
+ [Warning]: datasets path /data2/xuyunbo/InternNav/.external/openpi-src/third_party/libero/libero/datasets does not exist!
logs/libero_spatial.log ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [robosuite WARNING] No private macro file found! (__init__.py:7)
2
+ [robosuite WARNING] It is recommended to use a private macro file (__init__.py:8)
3
+ [robosuite WARNING] To setup, run: python /data2/xuyunbo/InternNav/.venv-openpi/lib/python3.11/site-packages/robosuite/scripts/setup_macros.py (__init__.py:9)
4
+ Gym has been unmaintained since 2022 and does not support NumPy 2.0 amongst other critical functionality.
5
+ Please upgrade to Gymnasium, the maintained drop-in replacement of Gym, or contact the authors of your software and request that they upgrade.
6
+ See the migration guide at https://gymnasium.farama.org/introduction/migration_guide/ for additional information.
7
+ INFO:root:Waiting for server at ws://127.0.0.1:8000...
8
+ INFO:root:task=pick up the black bowl on the wooden cabinet and place it on the plate task_id=9 done=True frames=174 video=/data2/xuyunbo/xly/0824/videos/single_success.mp4
9
+ [info] using task orders [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
10
+ [Warning]: datasets path /data2/xuyunbo/InternNav/.external/openpi-src/third_party/libero/libero/datasets does not exist!
11
+ [Warning]: datasets path /data2/xuyunbo/InternNav/.external/openpi-src/third_party/libero/libero/datasets does not exist!
videos/libero_10.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a2d3cf68fdb122bf110e9bafb070f83d70ef90b85f75d169f45b3362db8fc78f
3
+ size 128834
videos/libero_goal.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:07bb3c421bf4fd4ec6220f68d39b7e79103742cdc221d4a1517cd6cc681bf22f
3
+ size 56296
videos/libero_object.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a96f93e3ae00fe6711babe12d6aef080a229b26d4a2ffe5c13ffdc65c16510b9
3
+ size 60946
videos/libero_spatial.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:614ba9e45a9df78f3ad42d7c57117bada479c3efc9088d641c774b346a50669b
3
+ size 74584