Spaces:
Runtime error
Runtime error
import pytest | |
from training.data import get_dataset_size | |
def test_num_shards(shards, expected_size): | |
_, size = get_dataset_size(shards) | |
assert size == expected_size, f'Expected {expected_size} for {shards} but found {size} instead.' | |