Skip to content

Commit a6358f7

Browse files
Merge pull request #16 from RadarML/dev/export
Checkpoint Exporting & Bugfixes
2 parents fd772b5 + 3ac9c34 commit a6358f7

File tree

20 files changed

+172
-48
lines changed

20 files changed

+172
-48
lines changed

docs/grt/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ The GRT reference implementation uses a [hydra](https://hydra.cc/docs/intro/) +
1010
2. Create a virtual environment in `nrdk/grt` with `uv sync`.
1111
3. Run with `uv run train.py`; see the hydra config files in `nrdk/grt/config/` for options.
1212

13+
!!! info "Pre-Trained Checkpoints"
14+
15+
Pre-trained model checkpoints for the GRT reference implementation on the [I/Q-1M dataset](https://radarml.github.io/red-rover/iq1m/) can also be found [here](https://radarml.github.io/red-rover/iq1m/osn/#download-from-osn).
16+
1317
## Quick Start
1418

1519
1. Create a new repository, and copy the contents of the `grt/` directory:

grt/config/model/decoder/lidar2d.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ occ2d:
1414
d_model: ${size.d_model}
1515
num_layers: ${size.dec_layers}
1616
shape: [1, 1, 1024, 256]
17-
scale: [1.0, 1.0, 1.0, 1.0]
17+
scale: [16.0, 16.0, 16.0, 16.0]
1818
w_min: 0.2
1919
patch: [1, 1, 16, 16]
2020
out_dim: 0

grt/config/model/decoder/lidar3d.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ occ3d:
1414
d_model: ${size.d_model}
1515
num_layers: 4
1616
shape: [1, 64, 128, 64]
17-
scale: [1.0, 1.0, 1.0, 1.0]
17+
scale: [16.0, 16.0, 16.0, 16.0]
1818
w_min: 0.2
1919
patch: [1, 8, 8, 8]
2020
out_dim: 0

grt/config/model/decoder/semseg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ semseg:
1414
d_model: ${size.d_model}
1515
num_layers: 4
1616
shape: [1, 160, 160, 1]
17-
scale: [1.0, 1.0, 0.666, 1.0]
17+
scale: [16.0, 16.0, 10.666, 16.0]
1818
w_min: 0.2
1919
patch: [1, 5, 5, 1]
2020
out_dim: 8

grt/config/model/tokenizer/grt.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ d_model: ${size.d_model}
33
patch: [1, 2, 2, 8, 4] # (time, doppler, elevation, azimuth, range)
44
squeeze: [2, 3] # elevation + azimuth
55
n_channels: 2 # (amplitude, phase angle)
6-
scale: [1.0, 1.0, 1.0]
6+
scale: [16.0, 16.0, 16.0]
77
w_min: 0.2
88
positions: nd

grt/config/sensors/lidar.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
lidar:
22
_partial_: true
33
_target_: roverd.sensors.OSLidarDepth
4-
correction: auto
4+
correction: null
55
past: 0
66
future: 0

grt/config/sensors/radar.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
radar:
22
_partial_: true
33
_target_: roverd.sensors.XWRRadar
4-
correction: auto
4+
correction: null
55
past: 0
66
future: 0

grt/config/sensors/semseg.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
_camera:
22
_partial_: true
33
_target_: roverd.sensors.Semseg
4-
correction: auto
4+
correction: null
55
past: 0
66
future: 0

grt/config/size/small.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
d_model: 512
2-
d_feedforward: 1024
2+
d_feedforward: 2048
33
nhead: 8
44
enc_layers: 4
55
dec_layers: 4

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "nrdk"
7-
version = "0.1.5"
7+
version = "0.1.6"
88
authors = [
99
{ name="Tianshu Huang", email="tianshu2@andrew.cmu.edu" },
1010
]
@@ -36,11 +36,12 @@ dependencies = [
3636
"scipy >= 1.10.0",
3737
"scipy-stubs",
3838
"pandas >= 1.0.0",
39-
"pandas-stubs"
39+
"pandas-stubs",
40+
"hydra-core >= 1.3.0",
4041
]
4142

4243
[tool.uv.sources]
43-
roverd = { git = "ssh://git@github.com/radarml/red-rover.git", subdirectory = "format"}
44+
roverd = { git = "https://github.com/radarml/red-rover.git", subdirectory = "format"}
4445

4546
[project.optional-dependencies]
4647
roverd = [

0 commit comments

Comments
 (0)