Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -89,6 +89,7 @@ from hhdc.forward_model import LidarForwardImagingModel # or your actual import
|
|
| 89 |
|
| 90 |
# Load dataset
|
| 91 |
ds = load_dataset("anfera236/HHDC", split="train")
|
|
|
|
| 92 |
|
| 93 |
# Instantiate the LiDAR forward model (use your actual parameters)
|
| 94 |
forward_model = LidarForwardImagingModel(
|
|
@@ -104,7 +105,7 @@ forward_model = LidarForwardImagingModel(
|
|
| 104 |
sample = ds[0]
|
| 105 |
|
| 106 |
# High-res “clean” HHDC: [bins, H, W]
|
| 107 |
-
clean =
|
| 108 |
|
| 109 |
# Low-res noisy measurement generated by the forward model: [bins, H_low, W_low]
|
| 110 |
noisy = forward_model(clean)
|
|
@@ -144,4 +145,3 @@ loss.backward()
|
|
| 144 |
|
| 145 |
## Maintainers
|
| 146 |
- Andres Ramirez-Jaime — aramjai@udel.edu
|
| 147 |
-
|
|
|
|
| 89 |
|
| 90 |
# Load dataset
|
| 91 |
ds = load_dataset("anfera236/HHDC", split="train")
|
| 92 |
+
ds.set_format(type="torch", columns=["cube"])
|
| 93 |
|
| 94 |
# Instantiate the LiDAR forward model (use your actual parameters)
|
| 95 |
forward_model = LidarForwardImagingModel(
|
|
|
|
| 105 |
sample = ds[0]
|
| 106 |
|
| 107 |
# High-res “clean” HHDC: [bins, H, W]
|
| 108 |
+
clean = sample["cube"]
|
| 109 |
|
| 110 |
# Low-res noisy measurement generated by the forward model: [bins, H_low, W_low]
|
| 111 |
noisy = forward_model(clean)
|
|
|
|
| 145 |
|
| 146 |
## Maintainers
|
| 147 |
- Andres Ramirez-Jaime — aramjai@udel.edu
|
|
|