Train on a custom dataset
mainTo use your own dataset for training, follow these requirements:
- Dataset Conversion: Implement a
convert_datasetfunction to pack your data. Seeenv/realworldfor an example implementation. - Disk Usage: Add
dataset.use_disk=Trueto your configuration to save and load the dataset from disk. - Model Customization: If you need to change perception stem networks or action head networks, modify the configuration files in
experiments/configs/. Refer toexperiments/configs/env/realrobot_image.yamlfor a real-world example.
For evaluation of custom datasets, you must provide:
- A
rollout_runner.pyfile specific to your benchmark. - A
learner_trajectory_generatorevaluation function that provides rollouts.