MCPcopy Create free account
hub / github.com/Physical-Intelligence/openpi / build_datasets

Function build_datasets

scripts/train_pytorch.py:125–128  ·  view source on GitHub ↗
(config: _config.TrainConfig)

Source from the content-addressed store, hash-verified

123
124
125def build_datasets(config: _config.TrainConfig):
126 # Use the unified data loader with PyTorch framework
127 data_loader = _data.create_data_loader(config, framework="pytorch", shuffle=True)
128 return data_loader, data_loader.data_config()
129
130
131def get_model_state_dict(model):

Callers 1

train_loopFunction · 0.85

Calls 1

data_configMethod · 0.45

Tested by

no test coverage detected