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
***calvin_dataset_path** to the directory where you have stored the CALVIN ABC-D data.
8
-
***checkpoint_path** to the parent directory where your experiment checkpoints are saved.
8
+
***save_checkpoint_path** to the parent directory where your experiment checkpoints are saved. Recommend to create a```checkpoints``` folder in the project root directory.
9
9
***finetune_from_pretrained_ckpt** to the location of your pre-trained checkpoint.
10
10
***resume_from_checkpoint** to the location of your fine-tuned checkpoint.
11
-
***vit_ckpt_path** to the location of your ViT checkpoint (downloaded from the[website](https://drive.google.com/file/d/1bSsvRI4mDM3Gg51C6xO0l9CbojYw3OEt/view?usp=sharing)).
11
+
***vit_checkpoint_path** to the location of your ViT checkpoint (downloaded from the[website](https://drive.google.com/file/d/1bSsvRI4mDM3Gg51C6xO0l9CbojYw3OEt/view?usp=sharing)). Recommend to be stored in```checkpoints/vit_mae/mae_pretrain_vit_base.pth```.
12
12
13
13
*:exclamation:**networkx:**
14
14
Due to compatibility issues between the networkx library in CALVIN and Python 3.10, we provide a compatible version of networkx.zip on the[website](https://drive.google.com/file/d/1z-d1SaI0rXfBtBicw1zPSsP-wE-26oLq/view?usp=sharing). Download and unzip it, then replace the existing networkx library in the following path:
15
15
16
16
##Seer
17
17
###Pre-train
18
18
```bash
19
+
# Pre-train Seer on Calvin ABC-D dataset
19
20
bash scripts/CALVIN_ABC_D/Seer/pretrain.sh
21
+
# Pre-train Seer-Large on Calvin ABC-D dataset
22
+
bash scripts/CALVIN_ABC_D/Seer-Large/pretrain.sh
20
23
```
24
+
21
25
###Fine-tune
22
26
```bash
27
+
# Fine-tune Seer on Calvin ABC-D dataset
23
28
bash scripts/CALVIN_ABC_D/Seer/finetune.sh
29
+
# Fine-tune Seer-Large on Calvin ABC-D dataset
30
+
bash scripts/CALVIN_ABC_D/Seer-Large/finetune.sh
24
31
```
25
-
###Eval
32
+
33
+
###Train from Scratch
26
34
```bash
27
-
bash scripts/CALVIN_ABC_D/Seer/eval.sh
35
+
# Train Seer on Calvin ABC-D dataset from scratch
36
+
bash scripts/CALVIN_ABC_D/Seer/scratch.sh
37
+
# Train Seer-Large on Calvin ABC-D dataset from scratch
Copy file name to clipboardExpand all lines: docs/REAL-WORLD_PRETRAIN.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
#Pre-train
2
2
##Notice
3
-
We provide code for pre-training on both the DROID and OXE datasets. Users should update thecheckpoint_path to the directory where you want to save the training checkpoints, and modify the root_dir to the location where the preprocessed real data is stored. Additionally, users should configure the SLURM information in the provided scripts.
3
+
We provide code for pre-training on both the DROID and OXE datasets. Users should update thesave_checkpoint_path to the directory where you want to save the training checkpoints, and modify the root_dir to the location where the preprocessed real data is stored. Additionally, users should configure the SLURM information in the provided scripts.
vit_checkpoint_path="checkpoints/vit_mae/mae_pretrain_vit_base.pth"# downloaded from https://drive.google.com/file/d/1bSsvRI4mDM3Gg51C6xO0l9CbojYw3OEt/view?usp=sharing
6
+
### NEED TO CHANGE the checkpoint path ###
7
+
resume_from_checkpoint="checkpoints/CALVIN_ABC_D/Seer_Large/12.pth"# checkpoint path to be evaluated
vit_checkpoint_path="checkpoints/vit_mae/mae_pretrain_vit_base.pth"# downloaded from https://drive.google.com/file/d/1bSsvRI4mDM3Gg51C6xO0l9CbojYw3OEt/view?usp=sharing