You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+62Lines changed: 62 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -208,6 +208,68 @@ Then, please follow the instructions in the [CortexBench README](https://github.
208
208
3) To run the VC-1 evaluation for spa, specify the model config as a parameter (embedding=<spa_model>) for each of the benchmarks in [cortexbench](https://github.com/xiaoxiao0406/eai-vc/tree/main/cortexbench).
209
209
</details>
210
210
211
+
<details>
212
+
<summary><b>LIBERO Evaluation</b></summary>
213
+
214
+
Please first run `git submodule update --init --recursive`. Then install the LIBERO enviornment:
-`BENCHMARK` from `[LIBERO_SPATIAL, LIBERO_OBJECT, LIBERO_GOAL, LIBERO_90, LIBERO_10]`
230
+
231
+
then run the following:
232
+
233
+
```console
234
+
export CUDA_VISIBLE_DEVICES=GPU_ID && \
235
+
export MUJOCO_EGL_DEVICE_ID=GPU_ID && \
236
+
python libero/lifelong/main.py seed=SEED \
237
+
benchmark_name=BENCHMARK \
238
+
policy=bc_transformer_policy \
239
+
lifelong=multitask \
240
+
policy/image_encoder=spa_encoder.yaml
241
+
```
242
+
Note that in SPA paper, we remove all the data augmentations since we aim to produce a simple and fair setting instead of training a SOTA policy. To do so, you could run the following:
> Actually, in SPA's experiments, for speed consideration, we use only 20 demos for each task. To do so, you may need to manually modify the datasets. Moreover, SPA only trains for 25 epochs.
255
+
256
+
257
+
If you encounter this error, it is due to LIBERO's numpy version.
258
+
```
259
+
AttributeError: module 'numpy' has no attribute 'bool'.
260
+
`np.bool` was a deprecated alias for the builtin `bool`. To avoid this error in existing code, use `bool` by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use `np.bool_` here.
261
+
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
0 commit comments