← Back to Course Landing Page

Assignment 2 – Deep Learning on Large-Scale Data for Specialized Tasks

Topic: Monocular Depth Estimation on DIODE Dataset (Indoor & Outdoor)

Course: CO3133 Deep Learning and Its Applications | Semester: 261 | Instructor: Lê Thành Sách

Group Members (Group CR7)

Member NameStudent IDMain Roles / Responsibilities
Trần Hoàng Vỹ Khang2352502Dataset subset creation, scene-level split strategy, baseline setup
Đỗ Đăng Khoa2352554Data verification, statistical EDA, hardware compute benchmarking, preprocessing implementation, visualization scripts, report formatting
Dương Đăng Khoa2352551Preprocessing implementation, visualization scripts, report formatting

Attribution note. Every log entry in AI_USAGE.md records Đỗ Đăng Khoa as the member who carried out the M1 work, including the preprocessing, visualization and formatting listed above. This table is kept consistent with that record rather than describing an intended split: each member is credited only with work they performed, so the M1 workload is reported as uneven.

Milestone Status

MilestoneDeadlineDeliverable SummaryStatus
M1 Proposal (15%) 07 Oct 2026 Dataset Proposal: task, split, EDA, metrics, compute estimate Completed ✓
M2 Draft (25%) 28 Oct 2026 Baseline U-Net + MiDaS initial training runs Pending Instructor Approval
M3 Final (60%) 11 Nov 2026 Controlled experiment, error analysis, report, slides, video Scheduled
Proposal Note: Per course guidelines, main model training will start in M2/M3 following instructor proposal approval. All work below covers data verification, exploratory statistics, and local hardware speed benchmarking.

1. Problem Statement

ComponentFormat / Specification
Input RGBSingle RGB photo, shape 3 × 288 × 384 (H × W)
Target DepthPer-pixel depth map in metres, shape 1 × 288 × 384
Ground Truth MaskBinary validity mask m (1 = valid pixel, 0 = ignore pixel)
Loss TargetCompute loss and evaluation metrics strictly on valid pixels (mask = 1)

2. Dataset Description & Preliminary EDA

2.1 Dataset Overview & Processing Workflow

2.2 Data Splitting Strategy (Scene-Level Split)

SplitIndoor Scenes (Sample Count)Outdoor Scenes (Sample Count)Total Samples
train00002 (700), 00003 (466), 00004 (400), 00005 (340), 00006 (700)00007 (389), 00008, 00010, 00013, 00014, 00015 (400 each)4,995 (2,606 indoor / 2,389 outdoor)
val00001 (700)00017 (400)1,100 (700 indoor / 400 outdoor)
test00000 (700)00018 (400)1,100 (700 indoor / 400 outdoor)

2.3 Visual Inspection & Data Characteristics

Visual inspection of 5 random training samples
Figure 1. Visual inspection of 5 random train samples. Left: RGB photo. Middle: Depth map (blue = close, red = far, black = invalid; color scale capped at 99th percentile). Right: Validity mask (white = valid).

2.4 Distribution Analysis & Noise Handling

SplitDomainSamplesp5Medianp95p99Mean Invalid %
trainindoor2,6061.0m2.6m9.0m20.1m0.7%
trainoutdoor2,3891.4m6.5m37.9m75.4m30.3%
valindoor7000.6m1.3m3.5m6.4m0.2%
valoutdoor4002.1m7.7m33.1m51.6m44.4%
testindoor7000.8m1.8m5.0m7.5m0.2%
testoutdoor4002.5m8.5m46.1m84.0m31.8%
Depth distribution histograms across splits
Figure 2. Distribution of valid pixel depth values (in metres) across train, val, and test splits.
Invalid pixel percentage distribution per image
Figure 3. Distribution of invalid pixel percentage per image across splits.
Camera vertical tilt code distribution per scene
Figure 4. Distribution of camera vertical tilt codes (000 to 050) per scene.

3. Methodology

3.1 Preprocessing Pipeline

3.2 Baseline & Pretrained Models

3.3 Evaluation Metrics

4. Experimental Setup

4.1 Controlled Experiment Design

4.2 Hardware & Speed Benchmark

5. Results

Milestone 1 Status: Numerical evaluation metrics for Baseline U-Net and MiDaS fine-tuning runs will be updated here during Milestone 2 and Milestone 3 upon proposal approval.

6. Comparison and Discussion

Milestone 1 Status: Comparative analysis between Baseline U-Net, MiDaS zero-shot, and fine-tuning options will be populated in Milestone 3.

7. Error Analysis

Milestone 1 Status: Failure mode analysis (sky regions, reflective surfaces, object borders, extreme depth ranges) will be added in Milestone 3.

8. Limitations and Conclusion

8.1 Dataset & Pipeline Limitations

  1. Outdoor val has higher sky/invalid pixel rate (~44% vs ~30% in train).
  2. Laser ground truth has minor noise at sharp object edges (edge bleeding).
  3. DIODE only has upward/level camera angles (000–050); no downward floor views.
  4. Downsampling to 384×288 smooths fine details like wires and thin branches.
  5. All three splits come from the DIODE training set (no public test set available), so results are not directly comparable to published DIODE benchmarks.

8.2 M1 Conclusion

Our dataset subset is verified clean and free of scene leakage. Local GPU benchmarks confirm fast fine-tuning (~1 min/epoch with AMP), demonstrating that our planned controlled experiment is completely feasible on local hardware within 6–8 GPU hours.

9. Links & Resources