Versions in this module Expand all Collapse all v1 v1.1.0 Jun 11, 2026 v1.0.0 Jun 5, 2026 Changes in this version + const ChunkFilePattern + const CodebaseV21 + const CodebaseV30 + const DataDir + const DefaultChunkSize + const DefaultDataFileSizeInMB + const DefaultImagePath + const DefaultTasksPath + const DefaultVideoFileSizeInMB + const EpisodesDir + const InfoPath + const LegacyEpisodesPath + const LegacyEpisodesStatsPath + const LegacyTasksPath + const StatsPath + const V21DefaultDataPathTemplate + const V21DefaultVideoPathTemplate + const V30DefaultDataPathTemplate + const V30DefaultVideoPathTemplate + const VideoDir + var DefaultFeatures = map[string]FeatureSpec + func DataPath(chunk, file int) string + func EpisodeChunk(episodeIndex, chunksSize int) int + func EpisodesMetaPath(chunk, file int) string + func FileSizeMB(path string) (float64, error) + func FormatChunkFile(chunk, file int) string + func FormatPathTemplate(template string, episodeIndex, chunkIndex, fileIndex int, videoKey string) string + func ParquetUncompressedSizeMB(path string) (float64, error) + func UpdateChunkFileIndices(chunkIdx, fileIdx, chunksSize int) (int, int) + func UpdateVideoFeaturesInfo(ctx context.Context, info *DatasetInfo, root string, locator video.Locator) error + func V21DataPath(episode int) string + func V21DataPathFromInfo(info DatasetInfo, episodeIndex int) string + func V21VideoPath(videoKey string, episode int) string + func V21VideoPathFromInfo(info DatasetInfo, videoKey string, episodeIndex int) string + func VideoPath(videoKey string, chunk, file int) string + func WriteInfo(root string, info DatasetInfo) error + func WriteStats(root string, stats map[string]map[string]any) error + type DatasetInfo struct + ChunksSize int + CodebaseVersion string + DataFilesSizeInMB int + DataPath string + FPS int + Features map[string]FeatureSpec + RobotType *string + Splits map[string]string + TotalChunks *int + TotalEpisodes int + TotalFrames int + TotalTasks int + TotalVideos *int + VideoFilesSizeInMB int + VideoPath *string + func LoadInfo(root string) (DatasetInfo, error) + func NewDatasetInfo(codebase string, fps int, features map[string]FeatureSpec, useVideos bool, ...) DatasetInfo + type FeatureSpec struct + DType string + Extra map[string]any + Info map[string]any + Names interface{} + Shape []int + func (f *FeatureSpec) UnmarshalJSON(data []byte) error + func (f FeatureSpec) Equal(other FeatureSpec) bool + func (f FeatureSpec) MarshalJSON() ([]byte, error)