Repository navigation
feat(tier4): T4Devkit on 1.0 records (0.x converted on loading) - #310
Merged
Merged
Conversation
jacoblambert
force-pushed
the
v1/devkit-load
branch
from
October 14, 2026 11:10
e464a13 to
8976a22
Compare
jacoblambert
force-pushed
the
v1/convert-v0-rest
branch
from
October 14, 2026 11:10
d3188fc to
3598a11
Compare
jacoblambert
force-pushed
the
v1/devkit-load
branch
from
October 15, 2026 03:36
8976a22 to
e08630f
Compare
jacoblambert
force-pushed
the
v1/convert-v0-rest
branch
2 times, most recently
from
October 15, 2026 05:23
46e7e29 to
58bb6a9
Compare
jacoblambert
force-pushed
the
v1/devkit-load
branch
2 times, most recently
from
October 15, 2026 05:40
554bf6a to
5a4e45b
Compare
jacoblambert
force-pushed
the
v1/convert-v0-rest
branch
from
October 15, 2026 05:40
58bb6a9 to
5f1bc5c
Compare
jacoblambert
marked this pull request as ready for review
October 15, 2026 06:17
jacoblambert
force-pushed
the
v1/convert-v0-rest
branch
from
October 15, 2026 08:26
5f1bc5c to
5812b7f
Compare
jacoblambert
force-pushed
the
v1/devkit-load
branch
from
October 15, 2026 08:26
5a4e45b to
3990b9c
Compare
jacoblambert
force-pushed
the
v1/devkit-load
branch
from
October 15, 2026 10:37
3990b9c to
bec3ce2
Compare
jacoblambert
force-pushed
the
v1/convert-v0-rest
branch
from
October 15, 2026 10:37
5812b7f to
5d2cfee
Compare
jacoblambert
force-pushed
the
v1/convert-v0-rest
branch
from
October 21, 2026 01:31
5d2cfee to
df1c63a
Compare
jacoblambert
force-pushed
the
v1/devkit-load
branch
from
October 21, 2026 01:31
bec3ce2 to
5072745
Compare
ktro2828
approved these changes
Oct 21, 2026
jacoblambert
force-pushed
the
v1/convert-v0-rest
branch
from
October 22, 2026 09:53
df1c63a to
bd6c15a
Compare
jacoblambert
force-pushed
the
v1/devkit-load
branch
from
October 22, 2026 09:54
5072745 to
1ecdefa
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
T4Devkitnow loads every dataset throughload_dataset()(#304): 1.0 datasets are read as they are, and 0.x datasets are converted to 1.0 records when loading (#307, #308). Lookups, boxes, time series and rendering all work on 1.0 records, andT4Devkitnever checks the dataset version.Breaking: the tables
T4Devkitexposes are 1.0 records.The constructor is unchanged:
T4Devkit(data_root, revision=None, verbose=True), andrevisionstill picks the version folder.Breaking changes for users
t4.calibrated_sensort4.sensor(translation,rotation,camera.intrinsic,camera.width/height,lidar.fields)sample_data.calibrated_sensor_tokensample_data.sensor_tokensample_data.width/heightsensor.camera.width/heightt4.surface_ann,sample.surface_annst4.object_annwithinstance_token: None, insample.ann_2dst4.lidarseginstance.instance_nameinstance.name""(next,prev, ...)Nonerender_calibration(sensor, calibration, resolution)render_calibration(sensor)load_table(),fix_category_table()New tables:
t4.vehicle,t4.route,t4.scenario,t4.caption.Commits
feat(loader): load datasets through load_dataset()load_dataset().get/get_table/get_idxuse 1.0 table names throughT4Tables(newT4Tables.get_idx), and the shortcut fields (sample.data,ann_3ds,ann_2ds,sensor.first_sd_token, ...) come fromT4Tables, soT4Devkit's own reverse index is removed.dataset_id/versioncome frommanifest.jsonfor 1.0, from the folder names for 0.x.get_sample_datatakes intrinsics, image size and extrinsics from thesensorrow.Nonelinks inbox_velocity/get_box3ds; unknown visibility (visibility_token: None) →UNAVAILABLE; aBox2Dwithout instance getsuuid=None.feat(tier4): label confidence and time series on 1.0 recordsget_box3d(future_seconds=)) walks links untilNone; before, every future path failed onget(None).confidenceis the label's; labels without one (manual) keep 1.0.fix(sample): store a real RLE road mask in the 1.0 samplecounts: "0", which is not a base64 RLE; the rendering test was the first to decode it. The generator now computes it with pycocotools;object_ann.jsonand its manifest hash are updated.feat(helper): render 1.0 records and data filesLidarPointCloud.from_file(path, frame_index=, fields=sensor.lidar.fields)(Parquet, PCD,.bin). Camera image files are still passed as paths (sent encoded); video frames are decoded withload_image().render_pointclouduses the first LiDAR channel.render_instancehandles instances labeled only in 2D (first / last annotation is anobject_ann) or with no annotation.object_ann, formersurface_annregions included. Class IDs:category.index, or the list position when it is not set.SegmentationPointCloud.Tests
tests/test_tier4.py: everyT4Devkittest runs on both samples (0.x converted on loading, and 1.0).test_rendering(scene, instance and pointcloud of both samples rendered to.rrdfiles, no viewer window). There were no rendering tests before.tests/viewer/test_viewer.py:render_calibrationwith a 1.0 sensor row.