Dataset Viewer
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code: StreamingRowsError
Exception: CastError
Message: Couldn't cast
slide: string
model_id: string
revision: string
classifier: string
task: string
mpp: double
target_mpp: double
tile_px: int64
tile_size_level0: double
dimensions: list<item: int64>
child 0, item: int64
tiles: int64
counts: struct<ADI: int64, BACK: int64, DEB: int64, LYM: int64, MUC: int64, MUS: int64, NORM: int64, STR: in (... 16 chars omitted)
child 0, ADI: int64
child 1, BACK: int64
child 2, DEB: int64
child 3, LYM: int64
child 4, MUC: int64
child 5, MUS: int64
child 6, NORM: int64
child 7, STR: int64
child 8, TUM: int64
composition: struct<ADI: double, DEB: double, LYM: double, MUC: double, MUS: double, NORM: double, STR: double, T (... 11 chars omitted)
child 0, ADI: double
child 1, DEB: double
child 2, LYM: double
child 3, MUC: double
child 4, MUS: double
child 5, NORM: double
child 6, STR: double
child 7, TUM: double
mean_confidence: double
low_confidence_fraction: double
device: string
seconds: double
created_at: timestamp[s]
low_confidence_tiles: int64
max_flags: int64
version: int64
gap: int64
flags: list<item: struct<id: string, label: string, classes: list<item: string>, class_names: list<item: st (... 112 chars omitted)
child 0, item: struct<id: string, label: string, classes: list<item: string>, class_names: list<item: string>, tile (... 100 chars omitted)
child 0, id: string
child 1, label: string
child 2, classes: list<item: string>
child 0, item: string
child 3, class_names: list<item: string>
child 0, item: string
child 4, tiles: int64
child 5, mean_confidence: double
child 6, score: double
child 7, bbox: list<item: int64>
child 0, item: int64
child 8, cells: list<item: int64>
child 0, item: int64
min_tiles: int64
threshold: double
tissue_tiles: int64
to
{'version': Value('int64'), 'threshold': Value('float64'), 'min_tiles': Value('int64'), 'gap': Value('int64'), 'max_flags': Value('int64'), 'task': Value('string'), 'tissue_tiles': Value('int64'), 'low_confidence_tiles': Value('int64'), 'flags': List({'id': Value('string'), 'label': Value('string'), 'classes': List(Value('string')), 'class_names': List(Value('string')), 'tiles': Value('int64'), 'mean_confidence': Value('float64'), 'score': Value('float64'), 'bbox': List(Value('int64')), 'cells': List(Value('int64'))})}
because column names don't match
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
return get_rows(
dataset=dataset,
...<4 lines>...
column_names=column_names,
)
File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
return func(*args, **kwargs)
File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
File "/src/services/worker/src/worker/utils.py", line 483, in safe_iter
yield from ds.decode(False) if ds.features else ds
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2951, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2461, in __iter__
for key, pa_table in self._iter_arrow():
~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2486, in _iter_arrow
for key, pa_table in self.ex_iterable._iter_arrow():
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 547, in _iter_arrow
for key, pa_table in iterator:
^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 430, in _iter_arrow
for key, pa_table in self.generate_tables_fn(**gen_kwags):
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
self._cast_table(pa_table, json_field_paths=json_field_paths),
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
pa_table = table_cast(pa_table, self.info.features.arrow_schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
return cast_table_to_schema(table, schema)
File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
raise CastError(
...<3 lines>...
)
datasets.table.CastError: Couldn't cast
slide: string
model_id: string
revision: string
classifier: string
task: string
mpp: double
target_mpp: double
tile_px: int64
tile_size_level0: double
dimensions: list<item: int64>
child 0, item: int64
tiles: int64
counts: struct<ADI: int64, BACK: int64, DEB: int64, LYM: int64, MUC: int64, MUS: int64, NORM: int64, STR: in (... 16 chars omitted)
child 0, ADI: int64
child 1, BACK: int64
child 2, DEB: int64
child 3, LYM: int64
child 4, MUC: int64
child 5, MUS: int64
child 6, NORM: int64
child 7, STR: int64
child 8, TUM: int64
composition: struct<ADI: double, DEB: double, LYM: double, MUC: double, MUS: double, NORM: double, STR: double, T (... 11 chars omitted)
child 0, ADI: double
child 1, DEB: double
child 2, LYM: double
child 3, MUC: double
child 4, MUS: double
child 5, NORM: double
child 6, STR: double
child 7, TUM: double
mean_confidence: double
low_confidence_fraction: double
device: string
seconds: double
created_at: timestamp[s]
low_confidence_tiles: int64
max_flags: int64
version: int64
gap: int64
flags: list<item: struct<id: string, label: string, classes: list<item: string>, class_names: list<item: st (... 112 chars omitted)
child 0, item: struct<id: string, label: string, classes: list<item: string>, class_names: list<item: string>, tile (... 100 chars omitted)
child 0, id: string
child 1, label: string
child 2, classes: list<item: string>
child 0, item: string
child 3, class_names: list<item: string>
child 0, item: string
child 4, tiles: int64
child 5, mean_confidence: double
child 6, score: double
child 7, bbox: list<item: int64>
child 0, item: int64
child 8, cells: list<item: int64>
child 0, item: int64
min_tiles: int64
threshold: double
tissue_tiles: int64
to
{'version': Value('int64'), 'threshold': Value('float64'), 'min_tiles': Value('int64'), 'gap': Value('int64'), 'max_flags': Value('int64'), 'task': Value('string'), 'tissue_tiles': Value('int64'), 'low_confidence_tiles': Value('int64'), 'flags': List({'id': Value('string'), 'label': Value('string'), 'classes': List(Value('string')), 'class_names': List(Value('string')), 'tiles': Value('int64'), 'mean_confidence': Value('float64'), 'score': Value('float64'), 'bbox': List(Value('int64')), 'cells': List(Value('int64'))})}
because column names don't matchNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
OncoLens demo maps
Precomputed tissue maps for the OncoLens view-only beta. Research use only, experimental; not for diagnosis. Slides are from TCGA (open access, https://portal.gdc.cancer.gov/); the maps are derived from them.
Acknowledgement: The results shown here are in whole or part based upon data generated by the TCGA Research Network: https://www.cancer.gov/tcga.
- Downloads last month
- 33