Dataset Viewer issue: Non matching number of examples

#5
by albertvillanova HF staff - opened

The dataset viewer is not working.

Error details:

[{'expected': SplitInfo(name='train', num_bytes=4219400, num_examples=23410, shard_lengths=None, dataset_name=None), 'recorded': SplitInfo(name='train', num_bytes=735119341, num_examples=23442, shard_lengths=[16500, 6942], dataset_name='cats_vs_dogs')}]

Error code:   UnexpectedError

I tried to recreate it locally (also with datasets-cli test), but I always get the expected number of examples 23410:

In [3]: ds
Out[3]: 
DatasetDict({
    train: Dataset({
        features: ['image', 'labels'],
        num_rows: 23410
    })
})

Any idea, @lhoestq ?

Hmm weird, does it also have the same amount of example in streaming mode ?
(the StreamingDownloadManager is used in some cases to generate the Parquet files without downloading the full dataset in datasets-server)

Sign up or log in to comment