The dataset viewer is not available for this split.
Error code: StreamingRowsError
Exception: ValueError
Message: Invalid string class label scared@c1246e4f9f52e1ffd51fa45f8544288771785189
Traceback: Traceback (most recent call last):
File "/src/services/worker/src/worker/utils.py", line 99, in get_rows_or_raise
return get_rows(
^^^^^^^^^
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 77, in get_rows
rows_plus_one = list(itertools.islice(ds, rows_max_number + 1))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2543, in __iter__
for key, example in ex_iterable:
^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2060, in __iter__
for key, pa_table in self._iter_arrow():
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/iterable_dataset.py", line 2092, in _iter_arrow
pa_table = cast_table_to_features(pa_table, self.features)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2197, in cast_table_to_features
arrays = [cast_array_to_feature(table[name], feature) for name, feature in features.items()]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1795, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1995, in cast_array_to_feature
return feature.cast_storage(array)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 1169, in cast_storage
[self._strval2int(label) if label is not None else None for label in storage.to_pylist()]
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/features/features.py", line 1098, in _strval2int
raise ValueError(f"Invalid string class label {value}")
ValueError: Invalid string class label scared@c1246e4f9f52e1ffd51fa45f8544288771785189Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
MICCAI Challenge 2019 Dataset
About
There are 3 datasets (which are all from different pigs) each containing 5 keyframes. Keyframes are all single captures with a unique positioning of the endoscope and several positions of the structured light illuminator. The keyframes (with the exception of the last keyframe in each dataset) have additional data from interpolation using the camera kinematics to 'warp' the depth images to the new camera coordinates. These warped depth maps could be computed yourself manually since we provide the camera transforms but we are providing them for your convenience. Please do not assume they are perfect ground truth, due to errors in the kinematics or synchronization issues between the camera and video stream, there will be small errors in the warped vertex positions.
Each keyframe should contain the following files
camera_calibration.yamlThis is an approximate calibration of the endoscope and may be inaccurate. It is in OpenCV format and you can load this data directly using OpenCVFileStorageclass. However, depth estimation methods are expected to be robust to errors in camera calibration.Left_Image.pngThis is the left camera view used when the structured light patterns for keyframeNwere captured.Right_Image.pngThis is the right camera view.left_depth_map.tiffThis is the point cloud as seen by the left camera. Each pixel in the.tifffile contains an(X,Y,Z)coordinate which is the vertex position in left camera space that the pixel projects to.right_depth_map.tiffThis is the point cloud as seen by the right camera.point_cloud.objThis is a 3D vertex model you can load into software such asblenderormeshlabto view the coordinates.data/rgb.mp4This is the sequence of video frames (stacked left above right) that we captured after the structured light sequence for keyframeN. You should be able to open and decode this file with either OpenCV or ffmpeg. Standard video players (vlc/quicktime/wmp) may not work.data/frame_data.tar.gzThis is a archive of frames with the naming formatframe_data%06d.json. Eachframe_datacorresponds to a single video frame where the number in the file name can be used for matching. The frame data consists of the camera transform relative to the camera position where the keyframe illuminator image was captured (Left_Image.png/Right_Image.png) and the camera calibration data for that frame.data/scene_points.tar.gzThis is a archive of.tifffiles with the naming formatscene_points%06d.tiff. Like theframe_datafiles above, eachscene_pointscorresponds to a single video frame where the number in the file name can be used for matching. The.tifffiles contain the vertex coordinates warped from the keyframe illuminator image. Please note that as the camera motion introduces new pixels which are not captured in the illuminator scene, these pixels do not have an associated ground truth depth. You can find these pixels as they contain the value set(0,0,0)in the.tifffile.
Helpful Notes
- Opening
.tifffiles can be performed with the Python librarytifffilewhich is installable withpip. This format allow the storage of floating point images. - We apologize that interpolation is missing for
dataset_1/keyframe_4is missing. This was due to a logging error.
- Downloads last month
- 225