Сохраните дату! Google I / O возвращается 18-20 мая Зарегистрируйтесь сейчас


Registers a new checksums dir.

This function allow external datasets not present in the tfds repository to define their own checksums_dir containing the dataset downloads checksums.

# Set-up the folder containing the 'my_dataset.txt' checksums.
checksum_dir = os.path.join(os.path.dirname(__file__), 'checksums/')
checksum_dir = os.path.normpath(checksum_dir)

# Add the checksum dir (will be executed when the user import your dataset)

class MyDataset(tfds.core.DatasetBuilder):

checksums_dir str, checksums dir to add to the registry