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
Go to SimplerEnv/octo and run python ./scripts/finetune.py --config.pretrained_path=hf://rail-berkeley/octo-base --name='PickCokeCan' --config.save_dir='/home/ms23ss/finetune_saves/base_PickCokeCan' and editing the pretrained path, the name, the save directory and also editing the file finetune_config
In finetune_config.py, change the name to the dataset name and the data dir to /data/dgx1/ms23ss/ {so that data_dir/dataset_name is the dataset}
For the python call, change the name to be whatever I want to save the model as and the wandb run
Change the save directory and also ensure that it exists to save the checkpoints in
Move/Copy this checkpoint folder (a new one will be made called -- inside the save_dir/octo-finetune. Move/Copy it to google drive and delete all checkpoints except the last one and also keep the ‘state’ folder.
Part 4
Now load this checkpoint via octo inference notebook and change octopath to refer to the checkpoint (and make sure the model in the main function is Octo-custom if custom)
Trouble shooting
If the memory is too high for fine-tuning, do the following
sudo apt-get install psmisc
fuser -v /dev/nvidia*
sudo kill -9 $PID
If memory is high but because someone else is using it (XLA/JAX issues show up):