cy0307 commited on
Commit
3cf3755
Β·
verified Β·
1 Parent(s): 4bd2816

Upload from Ropedia Academy

Browse files
Files changed (1) hide show
  1. README.md +50 -18
README.md CHANGED
@@ -3,40 +3,72 @@ license: mit
3
  tags:
4
  - ropedia-academy
5
  - advanced
 
6
  - todo
 
7
  - track-d
8
  ---
9
 
10
- # NeRF from scratch (tiny_nerf) 🚧 placeholder
11
 
12
- > **Status β€” not trained yet.** This is a *documented placeholder* for an advanced, GPU-heavy pipeline from **[Ropedia Academy](https://chaoyue0307.github.io/ropedia-academy/)**. The checkpoint, metrics and plots are **TODO** β€” train it on a GPU (link below) and the weights + a full results card land here.
13
 
14
- Train a NeRF from scratch β€” runs on the GPU in minutes (too slow to CPU-train here).
 
 
15
 
16
  | | |
17
  |---|---|
 
18
  | **Task** | neural radiance field |
19
- | **Built on** | [self-contained PyTorch (bmild tiny_nerf data)](https://github.com/bmild/nerf) |
20
  | **Track** | B Β· 3D & rendering |
 
21
  | **Notebook** | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ChaoYue0307/ropedia-academy/blob/main/notebooks/training/B_nerf_from_scratch.ipynb) |
22
- | **Compute / storage / time** | see the *Compute Β· storage Β· time* table inside the notebook (GPU required) |
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
  ## How to fill this repo
25
- 1. Open the [notebook in Colab](https://colab.research.google.com/github/ChaoYue0307/ropedia-academy/blob/main/notebooks/training/B_nerf_from_scratch.ipynb) β†’ **Runtime β†’ GPU β†’ Run all** (trains/runs the real pipeline).
26
- 2. Run its **Publish to the Hugging Face Hub** step (or `HfApi().upload_folder(...)`) to push the checkpoint + metrics + plots here, replacing this placeholder.
 
 
 
 
 
 
 
 
27
 
28
- ## TODO
29
- - [ ] Train / run on a GPU (see the notebook)
30
- - [ ] Upload the checkpoint / adapter weights
31
- - [ ] Add `metrics.json` (loss / eval history)
32
- - [ ] Add result figures & sample outputs
33
- - [ ] Replace this placeholder card with the real results
 
 
 
34
 
35
- ## Results
36
- _TODO β€” add final metrics and plots after training. (Placeholder.)_
37
 
38
- ## Links to tracks A–D
39
- Relates to: **D** β€” see the *How this links to tracks A–D* note in the notebook.
 
 
 
 
40
 
41
  ---
42
- *Placeholder in the [Ropedia Academy](https://chaoyue0307.github.io/ropedia-academy/) trained-model collection. Browse all labs in the [Labs tab](https://chaoyue0307.github.io/ropedia-academy/labs).*
 
3
  tags:
4
  - ropedia-academy
5
  - advanced
6
+ - gpu
7
  - todo
8
+ - embodied-ai
9
  - track-d
10
  ---
11
 
12
+ # NeRF from scratch (tiny_nerf) 🚧 not trained yet
13
 
14
+ > Train a NeRF from scratch β€” runs on the GPU in minutes (too slow to CPU-train here).
15
 
16
+ **Status β€” documented recipe (placeholder).** A production-grade pipeline from **[Ropedia Academy](https://chaoyue0307.github.io/ropedia-academy/)** for an advanced, GPU-heavy task. Everything below β€” base model, objective, dataset, config, the exact evaluation β€” is specified; the **weights / metrics / figures** land here automatically when you run the notebook on a GPU (one click below). Try the trained models live in the **[Ropedia demos Space](https://huggingface.co/spaces/cy0307/ropedia-demos)**.
17
+
18
+ ## At a glance
19
 
20
  | | |
21
  |---|---|
22
+ | **Base model** | From scratch |
23
  | **Task** | neural radiance field |
24
+ | **Training objective** | Volume-rendering photometric loss through a positional-encoded MLP. |
25
  | **Track** | B Β· 3D & rendering |
26
+ | **Built on** | [self-contained PyTorch (bmild tiny_nerf data)](https://github.com/bmild/nerf) |
27
  | **Notebook** | [![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/ChaoYue0307/ropedia-academy/blob/main/notebooks/training/B_nerf_from_scratch.ipynb) |
28
+ | **Compute / storage / time** | GPU required β€” see the *Compute Β· storage Β· time* table in the notebook |
29
+
30
+ ## Dataset
31
+ - **Source:** tiny_nerf (bmild) β€” a single Lego scene (106 views).
32
+
33
+ ## Training config
34
+ GPU-scale β€” the notebook ships a **demo** profile (free Colab T4) and a **full** profile, with an exact *Compute Β· storage Β· time* table. Hyperparameters (optimizer, steps, batch, LoRA rank, …) are in the training cell.
35
+
36
+ ## Evaluation results
37
+ ⏳ **Pending** β€” run the notebook on a GPU to fill this in. This lab reports **PSNR (held-out views)** on a held-out split (see its *Evaluate* cell).
38
+
39
+ ## Inference example
40
+ No weights are published yet. After a GPU run, load the checkpoint/adapter the notebook saves (it also has a ready inference cell). Base model: **From scratch**.
41
 
42
  ## How to fill this repo
43
+ 1. Open the [notebook in Colab](https://colab.research.google.com/github/ChaoYue0307/ropedia-academy/blob/main/notebooks/training/B_nerf_from_scratch.ipynb) β†’ **Runtime β†’ GPU β†’ Run all** (runs the real pipeline).
44
+ 2. Run its **Publish to the Hugging Face Hub** step (or `HfApi().upload_folder(...)`) β€” the checkpoint + `metrics.json` + figures replace this placeholder.
45
+
46
+ - [ ] Train / run on a GPU Β· [ ] upload weights Β· [ ] add `metrics.json` Β· [ ] add figures Β· [ ] swap in the real results card
47
+
48
+ ## Limitations
49
+ Not yet trained β€” no numbers to report. The pipeline is **GPU-heavy** (see the compute table); on free Colab use the demo-scale settings. This is an educational, reproducible recipe, not a tuned production release.
50
+
51
+ ## License
52
+ Code: **MIT** (this repository). The **base model** ([self-contained PyTorch (bmild tiny_nerf data)](https://github.com/bmild/nerf)) and **dataset** are each under their own licenses β€” check the upstream source before redistribution.
53
 
54
+ ## Citation
55
+ ```bibtex
56
+ @misc{ropedia_academy,
57
+ title = {Ropedia Academy: an interactive course on embodied & spatial AI},
58
+ author = {Ropedia Academy},
59
+ year = {2026},
60
+ howpublished = {\url{https://chaoyue0307.github.io/ropedia-academy/}}
61
+ }
62
+ ```
63
 
64
+ **Method / original work:** Mildenhall et al., *NeRF*, ECCV 2020.
 
65
 
66
+ ## Related assets
67
+ - πŸš€ **Live demos:** [https://huggingface.co/spaces/cy0307/ropedia-demos](https://huggingface.co/spaces/cy0307/ropedia-demos)
68
+ - πŸ€— **All models + collection:** [https://huggingface.co/cy0307](https://huggingface.co/cy0307)
69
+ - πŸ“š **Course & all labs:** [https://chaoyue0307.github.io/ropedia-academy/](https://chaoyue0307.github.io/ropedia-academy/) Β· [Labs tab](https://chaoyue0307.github.io/ropedia-academy/labs)
70
+ - πŸ’» **Source / notebooks:** [github.com/ChaoYue0307/ropedia-academy](https://github.com/ChaoYue0307/ropedia-academy)
71
+ - πŸ”— **Relates to tracks:** D
72
 
73
  ---
74
+ *Documented placeholder in the [Ropedia Academy](https://chaoyue0307.github.io/ropedia-academy/) collection β€” train it on a GPU to publish the real model. Contributions welcome on [GitHub](https://github.com/ChaoYue0307/ropedia-academy).*