def dataset_to_path(dataset_name: str, dir_name: str) -> str:
    """
    Return the path to the dataset.
    """
    if dataset_name == 'robo_net' or \
        dataset_name == 'cmu_playing_with_food' or \
        dataset_name == 'droid':
        version = '1.0.0'
    elif dataset_name == 'language_table' or \
        dataset_name == 'fmb' or \
        dataset_name == 'dobbe':
        version = '0.0.1'
    elif dataset_name == 'nyu_door_opening_surprising_effectiveness':
        version = ''
    elif dataset_name == 'cmu_play_fusion':
        version=''
    elif dataset_name=='berkeley_gnm_recon':
        version=''
    else:
        version = '0.1.0'
    return f'{dir_name}/{dataset_name}/{version}'

    Return the path to the dataset.
    
policy/RDT/data/utils.py