vkgs-sim / docs /presentation /fix_merged.py
kimjunhan's picture
Add files using upload-large-folder tool
ceea884 verified
Raw History Blame Contribute Delete
27.6 kB
"""ํ†ตํ•ฉ๋ณธ (vkgs_sim_merged.pptx) ๊ฒ€ํ†  ๋ฐ˜์˜ (2026-10-15).
1. ์ƒˆ ์žฅ 3๊ฐœ: closed-loop ํ‰๊ฐ€ ์ธํ„ฐํŽ˜์ด์Šค (์—”์ง„ ๊ตฌ์กฐ) ยท ์—”์ง„ ๋„๊ตฌ โ€” ์…ฐ์ด๋” ๊ทธ๋ž˜ํ”„ ยท Tracy ยท IBL ยท ์žฅ๋ฉด ๊ฐ์ฒด (์—”์ง„ ๊ตฌ์กฐ) ยท
closed-loop ํ‰๊ฐ€ ์ง€ํ‘œ HD-Score (์‹œ๋ฎฌ๋ ˆ์ด์…˜)
2. ์ˆ˜์น˜ ยท ๋ฌธ๊ตฌ ๋ฐ”๋กœ์žก๊ธฐ (rg32f ๊ฑฐ๋ฆฌ ๋ฒ„ํผ, ์ •๋ ฌ ๋ฐฐ์œจ, SH lr, NAS ์‹คํŒจ ๋‹จ์œ„ ์ˆ˜, ๋˜๋จน์ž„ ์ง€ํ‘œ ๊ตฌ๋ถ„ โ€ฆ)
3. ๊ฐ™์€ ์ง€ํ‘œ๋ฅผ ๊ฐ™์€ ํ‘œ๋ณธ์œผ๋กœ (์ •์  PSNR ์ค‘์•™๊ฐ’ = ์ง€๊ธˆ ํ‰๊ฐ€๊ฐ€ ๋๋‚œ 313 ๋‹จ์œ„)
4. ์ง„ํ–‰ ์ˆ˜์น˜๋ฅผ 10/15 ๊ธฐ์ค€์œผ๋กœ
5. ํ‘œ ์žฅ๊ณผ ๊ฒน์น˜๋Š” ์›๋ž˜ ์„ฑ๋Šฅ ๋น„๊ต 2์žฅ ์‚ญ์ œ
6. ์—”์ง„ ๊ตฌ์กฐ๋„ ๊ทธ๋ฆผ (fig_engine_pipeline*.png, rg32f ๋ผ๋ฒจ) ๊ต์ฒด
์‹คํ–‰ ์ˆœ์„œ: merge_benchmark.py โ†’ add_sensor_data_slide.py โ†’ ์ด ์Šคํฌ๋ฆฝํŠธ (๊ทธ๋ฆผ: figures/closed_loop/fig_hdscore.py).
์‹คํ–‰: python docs/presentation/fix_merged.py [์ž…๋ ฅ.pptx] [์ถœ๋ ฅ.pptx] (๊ธฐ๋ณธ: vkgs_sim_merged.pptx ๋ฅผ ์ œ์ž๋ฆฌ์—์„œ)
"""
import copy
import sys
from pathlib import Path
from PIL import Image
from pptx import Presentation
from pptx.dml.color import RGBColor
from pptx.enum.shapes import MSO_SHAPE
from pptx.enum.text import MSO_ANCHOR, PP_ALIGN
from pptx.oxml.ns import qn
from pptx.util import Inches, Pt
HERE = Path(__file__).resolve().parent
SRC = Path(sys.argv[1]) if len(sys.argv) > 1 else HERE / "vkgs_sim_merged.pptx"
OUT = Path(sys.argv[2]) if len(sys.argv) > 2 else SRC
FIG = HERE / "figures/out"
# build_from_template.py ์™€ ๊ฐ™์€ ์ƒ‰ ยท ๊ธ€๊ผด ยท ํ‹€ ๋„ํ˜•
NAVY, BLUE, LIGHT, PALE, GRAY, ORANGE, WHITE = (RGBColor(0x1F, 0x3B, 0x70), RGBColor(0x44, 0x72, 0xC4), RGBColor(0xDC, 0xE6, 0xF4),
RGBColor(0xF2, 0xF5, 0xFA), RGBColor(0x40, 0x40, 0x40), RGBColor(0xED, 0x7D, 0x31),
RGBColor(0xFF, 0xFF, 0xFF))
FONT = "๋ง‘์€ ๊ณ ๋”•"
KEEP = {"์Šฌ๋ผ์ด๋“œ ๋ฒˆํ˜ธ ๊ฐœ์ฒด ํ‹€ 1", "์ œ๋ชฉ 1", "๊ทธ๋ฃน 6", "TextBox 9", "TextBox 4"}
H_CL = "closed-loop ํ‰๊ฐ€ ์ธํ„ฐํŽ˜์ด์Šค โ€” ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ๋ฅผ Gym ํ™˜๊ฒฝ์œผ๋กœ"
H_TOOLS = "์—”์ง„ ๋„๊ตฌ โ€” ์…ฐ์ด๋” ๊ทธ๋ž˜ํ”„ ยท ํ”„๋กœํŒŒ์ผ๋ง ยท IBL ์กฐ๋ช… ยท ์žฅ๋ฉด ๊ฐ์ฒด"
H_HD = "closed-loop ํ‰๊ฐ€ ์ง€ํ‘œ โ€” HD-Score ์™€ ๊ธฐ์ค€์„ "
DELETE = ["nuScenes ๋ Œ๋”๋ง ํ’ˆ์งˆ ๋น„๊ต โ€” ๊ด€๋ จ ๋…ผ๋ฌธ์ด nuScenes ์—์„œ ๋ณด๊ณ ํ•œ ๊ฐ’", "๋ Œ๋”๋ง ์†๋„ ร— ํ’ˆ์งˆ โ€” ๊ฐ™์€ ํ‘œ์— ๋‘˜ ๋‹ค ๋ณด๊ณ ํ•œ ๋…ผ๋ฌธ"]
# ------------------------------------------------------------------ build_from_template.py ์˜ ๋„์›€ ํ•จ์ˆ˜ (๊ฐ™์€ ๋ชจ์–‘)
def shape(sl, name):
for sh in sl.shapes:
if sh.name == name:
return sh
raise KeyError(name)
def set_runs_text(tf, text):
p0 = tf.paragraphs[0]
for p in tf.paragraphs[1:]:
p._p.getparent().remove(p._p)
runs = p0.runs
if not runs:
p0.text = text
return
runs[0].text = text
for r in runs[1:]:
r._r.getparent().remove(r._r)
def set_paragraphs(tf, items):
p0 = tf.paragraphs[0]._p
for p in tf.paragraphs[1:]:
p._p.getparent().remove(p._p)
parent = p0.getparent()
proto = copy.deepcopy(p0)
parent.remove(p0)
for it in items:
p = copy.deepcopy(proto)
rs = p.findall(qn("a:r"))
for r in rs[1:]:
p.remove(r)
if rs:
rs[0].find(qn("a:t")).text = it
parent.append(p)
def body(sl, tab, heading_, bullets):
set_runs_text(shape(sl, "์ œ๋ชฉ 1").text_frame, "VKGS-Sim")
set_runs_text(shape(sl, "TextBox 4").text_frame, tab)
for c in shape(sl, "๊ทธ๋ฃน 6").shapes:
if c.has_text_frame and c.text_frame.text.strip():
set_runs_text(c.text_frame, heading_)
set_paragraphs(shape(sl, "TextBox 9").text_frame, bullets)
return 1.82 + 0.28 * sum(1 + len(b) // 95 for b in bullets) + 0.15
def tb(sl, x, y, w, h, text, size=12, bold=False, color=GRAY, align=PP_ALIGN.LEFT, anchor=MSO_ANCHOR.TOP):
t = sl.shapes.add_textbox(Inches(x), Inches(y), Inches(w), Inches(h))
tf = t.text_frame
tf.word_wrap = True
tf.margin_left = tf.margin_right = Inches(0.04)
tf.margin_top = tf.margin_bottom = Inches(0.02)
tf.vertical_anchor = anchor
for i, line in enumerate(text.split("\n")):
p = tf.paragraphs[0] if i == 0 else tf.add_paragraph()
p.alignment = align
r = p.add_run()
r.text = line
r.font.size, r.font.bold, r.font.color.rgb, r.font.name = Pt(size), bold, color, FONT
return t
def box(sl, x, y, w, h, text, fill=LIGHT, color=GRAY, size=12, bold=False, line=None, align=PP_ALIGN.CENTER, title=None,
kind=MSO_SHAPE.ROUNDED_RECTANGLE):
s = sl.shapes.add_shape(kind, Inches(x), Inches(y), Inches(w), Inches(h))
if kind == MSO_SHAPE.ROUNDED_RECTANGLE:
s.adjustments[0] = 0.08
s.fill.solid()
s.fill.fore_color.rgb = fill
if line:
s.line.color.rgb = line
s.line.width = Pt(1.25)
else:
s.line.fill.background()
s.shadow.inherit = False
tf = s.text_frame
tf.word_wrap = True
tf.margin_left = tf.margin_right = Inches(0.1)
tf.margin_top = tf.margin_bottom = Inches(0.06)
tf.vertical_anchor = MSO_ANCHOR.MIDDLE if title is None else MSO_ANCHOR.TOP
lines = ([(title, True, size + 1)] if title else []) + [(l, bold, size) for l in text.split("\n") if l]
for i, (l, b, sz) in enumerate(lines):
p = tf.paragraphs[0] if i == 0 else tf.add_paragraph()
p.alignment = PP_ALIGN.CENTER if (title and i == 0) else align
p.space_after = Pt(3)
r = p.add_run()
r.text = l
r.font.size, r.font.bold, r.font.color.rgb, r.font.name = Pt(sz), b, (NAVY if title and i == 0 else color), FONT
return s
def arrow(sl, x, y, w=0.36, h=0.24, color=BLUE, kind=MSO_SHAPE.RIGHT_ARROW):
s = sl.shapes.add_shape(kind, Inches(x), Inches(y), Inches(w), Inches(h))
s.fill.solid()
s.fill.fore_color.rgb = color
s.line.fill.background()
s.shadow.inherit = False
return s
def table(sl, x, y, w, rows, colw, size=11, rowh=0.3, align_right=()):
t = sl.shapes.add_table(len(rows), len(rows[0]), Inches(x), Inches(y), Inches(w), Inches(rowh * len(rows))).table
for j, cw in enumerate(colw):
t.columns[j].width = Inches(w * cw)
for i, row in enumerate(rows):
t.rows[i].height = Inches(rowh)
for j, v in enumerate(row):
c = t.cell(i, j)
c.margin_left = c.margin_right = Inches(0.08)
c.margin_top = c.margin_bottom = Inches(0.03)
c.vertical_anchor = MSO_ANCHOR.MIDDLE
c.fill.solid()
c.fill.fore_color.rgb = NAVY if i == 0 else (PALE if i % 2 == 0 else WHITE)
p = c.text_frame.paragraphs[0]
p.text = ""
p.alignment = PP_ALIGN.RIGHT if (j in align_right and i > 0) else PP_ALIGN.LEFT
r = p.add_run()
r.text = str(v)
r.font.size, r.font.name = Pt(size), FONT
r.font.bold = i == 0
r.font.color.rgb = WHITE if i == 0 else GRAY
return t
def module(sl, x, y, w, h, title, desc, size=10):
box(sl, x, y, w, h, "", fill=WHITE, line=LIGHT)
tb(sl, x + 0.08, y + 0.05, w - 0.16, 0.28, title, size=size + 1, bold=True, color=NAVY)
tb(sl, x + 0.08, y + 0.36, w - 0.16, h - 0.4, desc, size=size, color=GRAY)
def picture(sl, path, x, y, w, h):
im = Image.open(path)
s_ = min(w / im.width, h / im.height)
ww, hh = im.width * s_, im.height * s_
return sl.shapes.add_picture(str(path), Inches(x + (w - ww) / 2), Inches(y), Inches(ww), Inches(hh))
# ------------------------------------------------------------------ ์žฅ ์ฐพ๊ธฐ ยท ์ƒˆ ์žฅ ยท ์ง€์šฐ๊ธฐ
def heading(s):
return "".join(c.text_frame.text for sh in s.shapes if sh.shape_type == 6 for c in sh.shapes if c.has_text_frame)
prs = Presentation(SRC)
def find(h):
for s in prs.slides:
if h in heading(s):
return s
return None
def new_slide_after(frame, anchor):
"""frame ์žฅ์˜ ํ‹€ ๋„ํ˜• (KEEP) ๋งŒ ๋ณต์‚ฌํ•œ ์ƒˆ ์žฅ์„ anchor ์žฅ ๋ฐ”๋กœ ๋’ค์—."""
sl = prs.slides.add_slide(frame.slide_layout)
tree = sl.shapes._spTree
for sh in list(sl.shapes):
tree.remove(sh._element)
for sh in frame.shapes:
if sh.name not in KEEP:
continue
el = copy.deepcopy(sh._element)
for node in el.iter():
for attr in (qn("r:embed"), qn("r:link"), qn("r:id")):
rid = node.get(attr)
if rid:
node.set(attr, sl.part.relate_to(frame.part.related_part(rid), frame.part.rels[rid].reltype))
tree.append(el)
lst = prs.slides._sldIdLst
new = list(lst)[-1]
lst.remove(new)
ids = [s.slide_id for s in prs.slides]
list(lst)[ids.index(anchor.slide_id)].addnext(new)
return sl
def delete(s):
lst, sid = prs.slides._sldIdLst, s.slide_id
for e in list(lst):
if int(e.get("id")) == sid:
lst.remove(e)
prs.part.drop_rel(e.get(qn("r:id")))
break
# ------------------------------------------------------------------ ๊ธ€ ๋ฐ”๊พธ๊ธฐ
def frames(s):
"""์žฅ์˜ ๋ชจ๋“  ๊ธ€ ์ƒ์ž ยท ํ‘œ ์นธ (๊ทธ๋ฃน ์•ˆ๊นŒ์ง€)."""
def walk(shs):
for sh in shs:
if sh.shape_type == 6:
yield from walk(sh.shapes)
continue
if sh.has_text_frame:
yield sh.name, sh.text_frame
if getattr(sh, "has_table", False) and sh.has_table:
for row in sh.table.rows:
for c in row.cells:
yield sh.name, c.text_frame
yield from walk(s.shapes)
def rep(h, old, new, exact=False, name=None, notes=False):
"""h ์žฅ์—์„œ run ๊ธ€ old โ†’ new. exact = run ์ „์ฒด๊ฐ€ old ์ผ ๋•Œ๋งŒ. ์ด๋ฏธ new ๋ฉด ๊ฑด๋„ˆ๋›ด๋‹ค (๋‹ค์‹œ ๋Œ๋ ค๋„ ๊ฐ™์Œ)."""
s = find(h)
assert s is not None, h
tfs = [("notes", s.notes_slide.notes_text_frame)] if notes else [(n, tf) for n, tf in frames(s) if name in (None, n)]
hit = done = 0
for _, tf in tfs:
for p in tf.paragraphs:
for r in p.runs:
if (r.text == old) if exact else (old in r.text):
r.text = new if exact else r.text.replace(old, new)
hit += 1
elif (r.text == new) if exact else (new in r.text):
done += 1
assert hit or done, f"๋ชป ์ฐพ์Œ: {h} | {old}"
# ================================================================== 1. ์ƒˆ ์žฅ
frame = find("Python โ†” ์—”์ง„ ๋ฐ์ดํ„ฐ ์ธํ„ฐํŽ˜์ด์Šค")
# ------------------------------------------------------------------ closed-loop ํ‰๊ฐ€ ์ธํ„ฐํŽ˜์ด์Šค
if find(H_CL) is None:
s = new_slide_after(frame, frame)
y = body(s, "์—”์ง„ ๊ตฌ์กฐ", H_CL, [
"์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ๋ฅผ ์ฐฝ ์—†๋Š” ์„œ๋ฒ„ (vkgs_viewer --serve) ๋กœ ๋„์šฐ๊ณ , Python VkgsEnv (Gymnasium) ๊ฐ€ ์ด๋ฆ„ ์žˆ๋Š” ํŒŒ์ดํ”„๋กœ ๋ช…๋ น ยท ์ƒํƒœ๋ฅผ ์ฃผ๊ณ ๋ฐ›์Œ โ€” ์ •์ฑ…์€ ๋‹ค๋ฅธ ํ”„๋กœ์„ธ์Šค๋ผ VLM/VLA ๋ชจ๋ธ์„ ๊ทธ๋Œ€๋กœ ๊ฝ‚์Œ (HUGSIM ์‹)",
"๋ฌผ๋ฆฌ ํ•œ ์Šคํ…์€ ์ฐฝ ์šด์ „๊ณผ ๊ฐ™์€ ์ฝ”๋“œ (drive.hpp step_with_contact, 0.01 s) โ€” ์ฐฝ์—์„œ ํ™•์ธํ•œ ์ถฉ๋Œ ยท ์—ฐ์„ ๊ฑฐ๋™์ด ํ‰๊ฐ€์— ๊ทธ๋Œ€๋กœ ์ ์šฉ๋จ",
])
y += 0.12
steps = [("์ •์ฑ… (Python)", "replay ์ „๋ฌธ๊ฐ€ ยท constant ๊ธฐ์ค€์„ \nVLM/VLA ์ •์ฑ… ์ž๋ฆฌ (policies.py)"),
("LQR ์ถ”์ข… (controller.py)", "์›จ์ดํฌ์ธํŠธ โ†’ ๊ฐ€์† ยท ์กฐํ–ฅ๊ฐ\n50 ms ๋งˆ๋‹ค"),
("VkgsEnv (closed_loop.py)", "Gymnasium reset ยท step\n๊ด€์ธก ยท ๋ณด์ƒ HD_t ยท ์ข…๋ฃŒ"),
("vkgs_viewer --serve", "์ฐฝ ์—†์Œ ยท ๋ฌผ๋ฆฌ ยท ์ถฉ๋Œ ยท ๊ตฌ๊ฐ„ ์ŠคํŠธ๋ฆฌ๋ฐ\n6์บ  ๋ Œ๋” (+ ๋ผ์ด๋‹ค ยท ๋ ˆ์ด๋”)")]
labels = ["์›จ์ดํฌ์ธํŠธ\n0.5 s ร— 6", "๊ฐ€์† ยท ์กฐํ–ฅ", "cmd / resp\nFIFO"]
bw, gap = 2.45, (11.8 - 4 * 2.45) / 3
for i, (t, d) in enumerate(steps):
x = 0.85 + i * (bw + gap)
box(s, x, y, bw, 1.0, d, title=t, size=10, fill=PALE if i < 3 else LIGHT, line=LIGHT)
if i < 3:
arrow(s, x + bw + 0.12, y + 0.42, w=gap - 0.24, h=0.22)
tb(s, x + bw, y + 0.66, gap, 0.36, labels[i], size=8.5, color=BLUE, align=PP_ALIGN.CENTER)
yb = y + 1.12
a = arrow(s, 0.85, yb, w=11.8, h=0.46, color=LIGHT, kind=MSO_SHAPE.LEFT_ARROW)
tf = a.text_frame
tf.margin_left = Inches(0.5)
p = tf.paragraphs[0]
p.alignment = PP_ALIGN.CENTER
r = p.add_run()
r.text = "๊ด€์ธก: 6์บ  RGB (/dev/shm ๊ณต์œ  ๋ฉ”๋ชจ๋ฆฌ, Hร—Wร—3) ยท ์ž์ฐจ ์ƒํƒœ (์†๋„ ยท ์ ‘์ด‰ ยท ๋„๋กœ ์ดํƒˆ ยท ๊ฒฝ๋กœ ์ดํƒˆ) ยท ๊ฒฝ๋กœ โ€” ๊ฒฐ์ • 2 Hz"
r.font.size, r.font.color.rgb, r.font.name, r.font.bold = Pt(10), NAVY, FONT, True
table(s, 0.85, yb + 0.6, 11.8, [
["๊ตฌ์„ฑ", "๋‚ด์šฉ"],
["ํ”„๋กœํ† ์ฝœ (serve.hpp)", "์ค„ ๋‹จ์œ„ '์ด๋ฆ„ key=value' โ†’ 'ok โ€ฆ' | 'err โ€ฆ' โ€” hello (ํ•ด์ƒ๋„ ยท ์นด๋ฉ”๋ผ ยท ์ฐจ์ฒด ์น˜์ˆ˜) ยท reset x y yaw [v] ยท step dt accel delta [render=1 sensors=1] ยท state ยท actors ยท close"],
["์ƒํƒœ", "t ยท x y z yaw ยท v ยท yaw_rate ยท contact ยท blocked ยท collisions ยท on_road ยท log_dev (๊ธฐ๋ก ๊ถค์ ์—์„œ ๋ฒ—์–ด๋‚œ ๊ฑฐ๋ฆฌ) ยท seg ยท step_ms ยท render_ms"],
["์‹œ๋‚˜๋ฆฌ์˜ค", "configs/scenarios/<์”ฌ>_easy.json โ€” nusim sim make-scenarios ๊ฐ€ ๋๋‚œ ์”ฌ๋งˆ๋‹ค ์ƒ์„ฑ: ์ถœ๋ฐœ ํ”„๋ ˆ์ž„ ยท ๊ธฐ๋ก ์†๋„ ยท ๊ฒฝ๋กœ ยท ์ œํ•œ ์‹œ๊ฐ„ ยท actors ยท overrides"],
["์ข…๋ฃŒ (closed_loop.json)", "์ถฉ๋Œ (์žฅ์• ๋ฌผ ยท ์ฐจ๋Ÿ‰์— ๋ง‰ํž˜) ยท ๋„๋กœ ์ดํƒˆ 2 s ์ง€์† ยท ๊ฒฝ๋กœ์—์„œ 8 m ๋„˜๊ฒŒ ๋ฒ—์–ด๋‚จ (์žฌ๊ตฌ์„ฑ ๋ฒ”์œ„ ๋ฐ–) ยท ๊ฒฝ๋กœ ๋ 2 m ์•ˆ (์™„์ฃผ) ยท ์‹œ๊ฐ„ ์ดˆ๊ณผ"],
], [0.17, 0.83], size=9.5, rowh=0.36)
s.notes_slide.notes_text_frame.text = (
"์„ค๊ณ„๋Š” HUGSIM (arXiv 2412.01718) ์„ ๋”ฐ๋ฅธ๋‹ค: ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ๋ฅผ Gymnasium env ๋กœ ๊ฐ์‹ธ๊ณ , ์‹œ๋ฎฌ๋ ˆ์ดํ„ฐ์™€ AD ์•Œ๊ณ ๋ฆฌ์ฆ˜์€ ๋‹ค๋ฅธ ํ”„๋กœ์„ธ์Šค๋กœ, "
"๊ฐ™์€ ๊ธฐ๊ณ„์—์„œ๋Š” ์ด๋ฆ„ ์žˆ๋Š” ํŒŒ์ดํ”„๋กœ ๋งํ•œ๋‹ค. ๋‘ ์ชฝ ๋‹ค cmd ๋ฅผ ๋จผ์ € ์—ด์–ด ๊ต์ฐฉ์„ ๋ง‰๋Š”๋‹ค. ์ •์ฑ… ์ถœ๋ ฅ์€ UniAD/VAD ์™€ ๊ฐ™์€ ์ž์ฐจ ์ขŒํ‘œ "
"์›จ์ดํฌ์ธํŠธ (0.5 s ร— 6) ์ด๊ณ , UniAD ยท VAD ๋ž˜ํผ๋Š” ์•„์ง ์—ฐ๊ฒฐ ์ „์ด๋‹ค. ์นด๋ฉ”๋ผ๋Š” ํ•™์Šต ์นด๋ฉ”๋ผ์™€ ๊ฐ™์€ ํ‰์ง€ ์ž์„ธ๋กœ ๋ถ™์ด๊ณ , ๋…ธ๋ฉด์— ์•‰ํžŒ "
"z ยท pitch ยท roll ์€ ์ƒํƒœ๋กœ๋งŒ ์•Œ๋ฆฐ๋‹ค. ์‹คํ–‰: nusim sim run scene-0402_easy --policy replay โ†’ outputs/closed_loop/<์‹œ๋‚˜๋ฆฌ์˜ค>/<์ •์ฑ…>.")
# ------------------------------------------------------------------ ์—”์ง„ ๋„๊ตฌ
perf = find("Vulkan ๋ Œ๋”๋Ÿฌ ์„ฑ๋Šฅ")
if find(H_TOOLS) is None:
s = new_slide_after(frame, perf)
y = body(s, "์—”์ง„ ๊ตฌ์กฐ", H_TOOLS, [
"๋ Œ๋” ๊ทธ๋ž˜ํ”„ ์œ„์— ํ›„์ฒ˜๋ฆฌ ๋…ธ๋“œ ๊ทธ๋ž˜ํ”„ ยท ํ”„๋กœํŒŒ์ผ๋Ÿฌ ยท ํ™˜๊ฒฝ ์กฐ๋ช… ยท ์žฅ๋ฉด ๊ฐ์ฒด ํŽธ์ง‘์„ ์–น์Œ โ€” ์ฝ”๋“œ๋ฅผ ๊ณ ์น˜์ง€ ์•Š๊ณ  ์„ค์ • (JSON) ์œผ๋กœ ๋ฐ”๊พธ๊ณ , ํŒจ์Šค๋งˆ๋‹ค ์‹œ๊ฐ„์„ ์žผ",
])
tb(s, 0.85, y, 11.8, 0.3, "camera_isp ์…ฐ์ด๋” ๊ทธ๋ž˜ํ”„ โ€” configs/shader_graphs/camera_isp.json โ†’ ์ƒ์„ฑ GLSL (๋…ธ๋“œ = n_<op> ํ•จ์ˆ˜, ์œ„์ƒ ์ •๋ ฌ ยท ์ˆœํ™˜ ยท ํƒ€์ž… ๊ฒ€์‚ฌ๋Š” ๋นŒ๋“œ ๋•Œ)",
size=10, bold=True, color=NAVY)
nodes = ["์ž…๋ ฅ", "sRGB โ†’ ์„ ํ˜•", "๋…ธ์ถœ", "ํ™”์ดํŠธ๋ฐธ๋Ÿฐ์Šค", "๋น„๋„คํŒ…", "์„ผ์„œ ๋…ธ์ด์ฆˆ", "์„ ํ˜• โ†’ sRGB", "์ฑ„๋„", "๋Œ€๋น„", "์ถœ๋ ฅ"]
nw, ng = 0.98, (11.8 - 10 * 0.98) / 9
yn = y + 0.34
for i, n in enumerate(nodes):
x = 0.85 + i * (nw + ng)
box(s, x, yn, nw, 0.46, n, fill=NAVY if i in (0, 9) else LIGHT, color=WHITE if i in (0, 9) else NAVY, size=9, bold=True)
if i < 9:
arrow(s, x + nw + 0.03, yn + 0.15, w=ng - 0.06, h=0.16)
ym = yn + 0.62
mw, mh = 5.82, (6.95 - ym - 0.12) / 2
module(s, 0.85, ym, mw, mh, "โ‘  ์…ฐ์ด๋” ๊ทธ๋ž˜ํ”„ (ํ›„์ฒ˜๋ฆฌ ๋…ธ๋“œ)",
"์ƒ์„ฑ๊ธฐ๊ฐ€ GLSL ํ•จ์ˆ˜ ์‹œ๊ทธ๋‹ˆ์ฒ˜์—์„œ ์ž…๋ ฅ ํฌํŠธ ยท ๋งค๊ฐœ๋ณ€์ˆ˜ (// @param ๊ธฐ๋ณธ๊ฐ’ ยท ๋ฒ”์œ„) ๋ฅผ ์ฝ์Œ โ†’ ๋…ธ๋“œ๋ฅผ ๋”ํ•ด๋„ ์ƒ์„ฑ๊ธฐ๋Š” ๊ทธ๋Œ€๋กœ\n"
"๋งค๊ฐœ๋ณ€์ˆ˜๋Š” SSBO โ€” F2 ์ฐฝ ์Šฌ๋ผ์ด๋” ยท sim.json ์œผ๋กœ ๋‹ค์‹œ ์ปดํŒŒ์ผ ์—†์ด ๋ฐ”๊ฟˆ\n"
"camera_isp: VLM ์ด ์นด๋ฉ”๋ผ ํŠน์„ฑ ๋ณ€ํ™”๋ฅผ ๊ฒฌ๋””๋Š”์ง€ ์‹œํ—˜ํ•˜๋ ค๋Š” ๊ฒƒ, ๊ธฐ๋ณธ ๊บผ์ง", size=10.5)
module(s, 0.85 + mw + 0.16, ym, mw, mh, "โ‘ก Tracy ํ”„๋กœํŒŒ์ผ๋ง",
"CPU ๊ตฌ๊ฐ„ (render ยท record ยท gpu wait ยท ํŒจ์Šค๋ณ„ ยท PNG ์ธ์ฝ”๋”ฉ) + GPU ํƒ€์ž„์Šคํƒฌํ”„ (ํŒจ์Šค ยท ๊ทธ๋ฆฌ๊ธฐ ํ•ญ๋ชฉ๋งˆ๋‹ค)\n"
"ํ”„๋กœํŒŒ์ผ๋Ÿฌ๊ฐ€ ๋ถ™์–ด ์žˆ์„ ๋•Œ๋งŒ ๊ธฐ๋ก (TRACY_ON_DEMAND) โ€” ํ‰์†Œ ๋น„์šฉ ๊ฑฐ์˜ ์—†์Œ\n"
"์ฒซ ์ธก์ •: ์˜คํ”„์Šคํฌ๋ฆฐ ํ•œ ์žฅ 229 ms ์ค‘ PNG ์ €์žฅ 216 ms โ†’ ๋ฐฑ๊ทธ๋ผ์šด๋“œ ์ธ์ฝ”๋”ฉ ยท ํ•„ํ„ฐ ๊ณ ์ •์œผ๋กœ 23 ms", size=10.5)
module(s, 0.85, ym + mh + 0.12, mw, mh, "โ‘ข IBL ํ™˜๊ฒฝ ์กฐ๋ช… (glTF ์ฐจ๋Ÿ‰)",
"6์บ  ์‚ฌ์ง„ (์ƒ‰ ๋ณด์ • ์—ญ์ ์šฉ) + 3DGS ์ฑ„์›€ โ†’ 360ยฐ ํŒŒ๋…ธ๋ผ๋งˆ โ†’ HDR ๊ทผ์‚ฌ ํ๋ธŒ๋งต 512ยฒ\n"
"GGX specular (mip 6) ยท SH9 irradiance ยท BRDF LUT โ†’ BC6H KTX2 (16 โ†’ 2 MB)\n"
"glTF ์ž์ฐจ ยท ์ฐจ๋Ÿ‰ PBR (clearcoat ยท ์œ ๋ฆฌ ๊ทผ์‚ฌ) + ์ ‘์ง€ ๊ทธ๋ฆผ์ž, ๋ฉ”์‹œโ€“์Šคํ”Œ๋žซ ๊นŠ์ด ํ•ฉ์„ฑ", size=10.5)
module(s, 0.85 + mw + 0.16, ym + mh + 0.12, mw, mh, "โ‘ฃ ์žฅ๋ฉด ๊ฐ์ฒด (--objects, K ์ฐฝ)",
"๊ฐ์ฒด ๊ฐ€์šฐ์‹œ์•ˆ์€ ๋ฐฐ๊ฒฝ๊ณผ ๋‹ค๋ฅธ ๋ฒ„ํผ + ๊ฐ์ฒด ํ‘œ SSBO ๋กœ ํ”„๋ ˆ์ž„๋งˆ๋‹ค ์ž์„ธ โ€” ์ถ”๊ฐ€ ยท ์‚ญ์ œ์— ๋ฐฐ๊ฒฝ์„ ๋‹ค์‹œ ์˜ฌ๋ฆฌ์ง€ ์•Š์Œ\n"
"ํŽธ์ง‘: ํด๋ฆญ ์„ ํƒ ยท ๋“œ๋ž˜๊ทธ ์ด๋™ ยท ํœ  ํšŒ์ „ ยท Delete ยท ๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ ์—์…‹ ์ถ”๊ฐ€ ยท objects.json ์ €์žฅ\n"
"๊ฐ์ฒด ๋ฐ•์Šค ๋ฐ”๋‹ฅ ์‚ฌ๊ฐํ˜•์€ ์ž์ฐจ ์ถฉ๋Œ ํŒ์ •์—๋„ ๋“ค์–ด๊ฐ (vehicle_contact)", size=10.5)
s.notes_slide.notes_text_frame.text = (
"์…ฐ์ด๋” ๊ทธ๋ž˜ํ”„: ์ƒ์„ฑ๊ธฐ scripts/shader_graph.py, ๊ฒฐ๊ณผ build/shaders/gen/<์ด๋ฆ„>.comp ยท .params.json ยท .dot (์ƒ์„ฑ๋ฌผ์€ ๊ณ ์น˜์ง€ ์•Š๋Š”๋‹ค). "
"๋…ธ๋“œ๋Š” ํ”ฝ์…€ ํ•˜๋‚˜๋งŒ ๋ณด๋ฏ€๋กœ post ์ด๋ฏธ์ง€๋ฅผ ์ œ์ž๋ฆฌ์—์„œ ๊ณ ์นœ๋‹ค. Tracy: scripts/build_tracy.sh ๋กœ ์‚ฌ์šฉ์ž ๊ณต๊ฐ„ ๋นŒ๋“œ, scripts/profile.sh ๋กœ ์บก์ฒ˜์™€ ํ†ต๊ณ„. "
"IBL: nusim render ibl <scene> (20์ดˆ), ๋ทฐ์–ด --ibl. ํ™˜๊ฒฝ๋งต์€ ํ•œ ์ง€์  ๊ฒƒ์ด๋ผ ์ž์ฐจ๊ฐ€ ์ˆ˜์‹ญ m ์›€์ง์ด๋ฉด ๋ฐ˜์‚ฌ๊ฐ€ ๋งž์ง€ ์•Š๋Š”๋‹ค. "
"์žฅ๋ฉด ๊ฐ์ฒด: ์›๋ณธ์€ objects.orig.json ์œผ๋กœ ๋‚จ๊ธด๋‹ค. ์ƒ๋Œ€ ์ฐจ๋Š” ์•„์ง ๋ฐ˜์‘ํ•˜์ง€ ์•Š๋Š”๋‹ค (์ž์ฐจ๊ฐ€ ๋ฉˆ์ถœ ๋ฟ).")
# ------------------------------------------------------------------ HD-Score
sens = find("๋ผ์ด๋‹ค ยท ๋ ˆ์ด๋” ์„ผ์„œ ๋ฐ์ดํ„ฐ")
if find(H_HD) is None:
s = new_slide_after(frame, sens)
y = body(s, "์‹œ๋ฎฌ๋ ˆ์ด์…˜", H_HD, [
"HUGSIM ์˜ HD-Score (NAVSIM PDM-Score ์—์„œ EP ์ œ์™ธ) ๋ฅผ ์šฐ๋ฆฌ ํŒ์ • ์žฌ๋ฃŒ (์žฅ์• ๋ฌผ ์ง€๋„ ยท ์ฃผํ–‰๊ฐ€๋Šฅ์˜์—ญ ยท ์„œ๋ฒ„ ์ ‘์ด‰) ๋กœ ๊ตฌํ˜„ โ€” ๊ฒฐ์ • ์‹œ์  ์ ์ˆ˜๋Š” ๊ทธ๋•Œ๊นŒ์ง€์˜ ๋กœ๊ทธ๋งŒ ์”€",
"๊ธฐ์ค€์„ : ๊ธฐ๋ก ๊ถค์ ์„ ๋”ฐ๋ฅด๋Š” replay ๋Š” 1.0 ์— ๊ฐ€๊น๊ณ , ๊ฒฝ๋กœ๋ฅผ ๋ณด์ง€ ์•Š๋Š” constant (์ง์ง„ ๋“ฑ์†) ๋Š” ์ถฉ๋Œํ•ด 0.17 ยท 0.44 โ€” ์ง€ํ‘œ๊ฐ€ ์ฃผํ–‰ ์‹คํŒจ๋ฅผ ๊ฐ€๋ ค๋ƒ„",
])
y = 2.55 # ๋‘ ๊ธ€๋จธ๋ฆฌ ๋‹ค์Œ (body() ์˜ ์ค„ ์ˆ˜ ์ถ”์ •์€ ๋„‰๋„‰ํ•˜๋‹ค)
box(s, 0.85, y, 11.8, 0.42, "HD_t = NC ร— DAC ร— (5 ยท TTC + 2 ยท COM) / 7 HD-Score = Rc ร— ํ‰๊ท _t HD_t",
fill=PALE, color=NAVY, size=13, bold=True, line=LIGHT)
yc = y + 0.55
lw = 5.5
table(s, 0.85, yc, lw, [
["ํ•ญ๋ชฉ", "์ •์˜ (๊ฒฐ์ • 2 Hz ๋งˆ๋‹ค)"],
["NC", "์ฐจ๋Ÿ‰ ยท ์žฅ์• ๋ฌผ์— ๋ง‰ํžˆ๋ฉด 0 (์—ฐ์„์€ DAC ๊ฐ€ ๋ด„)"],
["DAC", "๋ชจ๋“  ์ œ์–ด ์Šคํ…์—์„œ ์ฐจ์ฒด ๋‘˜๋ ˆ 8์ ์ด ์ฃผํ–‰๊ฐ€๋Šฅ์˜์—ญ ์•ˆ"],
["TTC", "๋“ฑ์† ยท ๋“ฑ๋ฐฉ์œ„ 1 s ํˆฌ์˜ (0.1 s ๊ฐ„๊ฒฉ) ์ด ์ง€๊ธˆ๋ณด๋‹ค ๊นŠ์ด ๋‹ฟ์œผ๋ฉด 0"],
["COM", "2 s ์ฐฝ: ์ข…๊ฐ€์† โˆ’4.05~2.40 ยท ํšก๊ฐ€์† 4.89 ยท ์ €ํฌ ยท ์š”๋ ˆ์ดํŠธ ํ•œ๊ณ„"],
["Rc", "๊ฒฝ๋กœ ์ง„ํ–‰ / ๊ฒฝ๋กœ ๊ธธ์ด (๋ 2 m ์•ˆ์ด๋ฉด 1)"],
], [0.13, 0.87], size=9, rowh=0.3)
yr = yc + 6 * 0.3 + 0.12
table(s, 0.85, yr, lw, [
["์‹œ๋‚˜๋ฆฌ์˜ค", "์ •์ฑ…", "Rc", "TTC", "COM", "HD-Score"],
["scene-0402 Easy", "replay", "1.00", "1.00", "1.00", "1.000"],
["(235 m ์ง์„ )", "constant", "0.21", "0.89", "0.89", "0.169"],
["scene-0006 Easy", "replay", "1.00", "0.97", "1.00", "0.982"],
["(101 m, 90ยฐ ํšŒ์ „)", "constant", "0.55", "0.83", "0.92", "0.440"],
], [0.3, 0.16, 0.12, 0.12, 0.12, 0.18], size=9, rowh=0.28, align_right=(2, 3, 4, 5))
picture(s, FIG / "fig_hdscore.png", 0.85 + lw + 0.15, yc, 11.8 - lw - 0.15, 6.9 - yc)
s.notes_slide.notes_text_frame.text = (
"2026-10-11 ์ธก์ •, 800ร—450 6์บ , ํ•™์Šต ์ž‘์—…๊ณผ GPU ๊ณต์œ . 6์บ  ๋ Œ๋” 62~79 ms, ๋ฌผ๋ฆฌ 50 ms ์ ๋ถ„ + ์ ‘์ด‰ 0.3~0.6 ms, ๊ฒฐ์ • ํ•œ ๋ฒˆ ์•ฝ 120 ms "
"(์‹ค์‹œ๊ฐ„์˜ ์•ฝ 4๋ฐฐ ๋น ๋ฅด๊ธฐ). constant ๋Š” scene-0402 ์—์„œ 49 m ์ง€์  ์™ผ์ชฝ ๋‚˜๋ฌด, scene-0006 ์—์„œ ํšŒ์ „ ๊ตฌ๊ฐ„ ์ง์ง„ ์ค‘ ์ค‘์•™ ํ™”๋‹จ์— ๋ถ€๋”ชํ˜”๋‹ค. "
"scene-0006 replay ์˜ TTC ํ•œ ๋ฒˆ 0 ์€ ํšŒ์ „ ์ค‘ ๋“ฑ๋ฐฉ์œ„ ํˆฌ์˜์ด ๋ฐ”๊นฅ ์žฅ์• ๋ฌผ๋กœ ๋‚˜๊ฐ€์„œ๋‹ค (NAVSIM ๊ณผ ๊ฐ™์€ ํ•œ๊ณ„). NC ๋Š” ์ •์  ์žฅ์• ๋ฌผ๋„ 0 ์œผ๋กœ ์—„ํ•˜๊ฒŒ "
"๋‘”๋‹ค (NAVSIM 0.5). Python ํŒ์ •์€ drive.hpp ์™€ ๊ฐ™์€ ํ‘œ๋ณธ์ ์„ ์“ฐ๊ณ  tests/test_serve_cpp.py ๊ฐ€ ์  ์ˆ˜๋ฅผ ๋Œ€์กฐํ•œ๋‹ค. ํ•œ๊ณ„: ๋‹ค๋ฅธ ์ฐธ๊ฐ€์ž๋Š” ์•„์ง "
"๊ทธ๋ฆฌ์ง€ ์•Š์•„ Easy ๋งŒ ์˜๋ฏธ ์žˆ๊ณ , ์ง€์—ญ ๋งต์€ ์žฅ์• ๋ฌผ ยท ๋ณต์…€์ด ์—†์–ด ์‹œ๋‚˜๋ฆฌ์˜ค๋กœ ์“ฐ์ง€ ์•Š๋Š”๋‹ค. ์ฑ„์ : nusim sim score outputs/closed_loop/<์‹œ๋‚˜๋ฆฌ์˜ค>/<์ •์ฑ…> -v.")
# ================================================================== 2. ์ˆ˜์น˜ ยท ๋ฌธ๊ตฌ ๋ฐ”๋กœ์žก๊ธฐ
R = "๋ Œ๋” ๊ทธ๋ž˜ํ”„ โ€” ํ•œ ํ”„๋ ˆ์ž„์˜ ํŒจ์Šค ํŒŒ์ดํ”„๋ผ์ธ"
rep(R, "(RGBA16F ์ƒ‰ + r32f ๊ฑฐ๋ฆฌ)", "(RGBA16F ์ƒ‰ + rg32f ๊ฑฐ๋ฆฌ)")
rep(R, "fxaa_resolve โ†’ to_present (camera_isp ๊บผ์ง)", "fxaa_resolve โ†’ camera_isp (๊ธฐ๋ณธ ๊บผ์ง) โ†’ camera_mode (RGB ๋ฉด ํ†ต๊ณผ) โ†’ to_present", notes=True)
rep(R, "sort 0.44 ms (์ด์ „ bitonic 31~35 ms ๋Œ€๋น„ 13๋ฐฐ)", "sort 0.44 ms", notes=True)
rep(R, "scene 4.38 ms.", "scene 4.38 ms. ์ •๋ ฌ ๊ต์ฒด ํšจ๊ณผ (bitonic 31~35 ms โ†’ radix 2.7 ms, ์•ฝ 12๋ฐฐ) ๋Š” ํ•™์Šต๊ณผ GPU ๋ฅผ ๊ฐ™์ด ์“ฐ๋Š” ๊ฐ™์€ ์กฐ๊ฑด์—์„œ ์žฐ ๊ฐ’์ด๋‹ค.", notes=True)
rep(R, "๊ฑฐ๋ฆฌ ๋ˆ„์ ์€ ์„ผ์„œ", "๊ฑฐ๋ฆฌ ๋ˆ„์  (rg32f: ฮฃzฮฑ, ฮฃฮฑ) ์€ ์„ผ์„œ", notes=True)
P = "Vulkan ๋ Œ๋”๋Ÿฌ ์„ฑ๋Šฅ"
rep(P, "13ร—", "12ร—", exact=True)
rep(P, "16 ms", "15.5 ms", exact=True)
rep(P, "1600ร—900 ํ•œ ์žฅ (์˜คํ”„์Šคํฌ๋ฆฐ)", "1600ร—900 ํ•œ ์žฅ (GPU ๋‹จ๋…)")
rep(P, "๊ฑฐ๋ฆฌ ๋ˆ„์  r32f", "๊ฑฐ๋ฆฌ ๋ˆ„์  rg32f (ฮฃzฮฑ, ฮฃฮฑ)")
rep(P, "* ์ˆ˜์น˜๋Š” ํ•™์Šต๊ณผ GPU ๋ฅผ ํ•จ๊ป˜ ์“ฐ๋Š” ์ƒํƒœ์—์„œ ์ธก์ •",
"* ์ •๋ ฌ 31~35 โ†’ 2.7 ms ๋Š” ํ•™์Šต๊ณผ GPU ๋ฅผ ํ•จ๊ป˜ ์“ฐ๋Š” ์ƒํƒœ์—์„œ ์ธก์ • (1600ร—900 ํ•œ ์žฅ์€ GPU ๋‹จ๋… 15.5 ms, ํ•จ๊ป˜ ์“ฐ๋ฉด 17.1 ms)")
L = "์†์‹ค ํ•จ์ˆ˜ ๋ฐ ํ•™์Šต ์„ค์ •"
rep(L, "lr ํšŒ์ „ / ๋ถˆํˆฌ๋ช…๋„ / ์ƒ‰", "lr ํšŒ์ „ / ๋ถˆํˆฌ๋ช…๋„ / SH ์ƒ‰", exact=True)
rep(L, "1e-3 / 5e-2 / 1e-3", "1e-3 / 5e-2 / 2.5e-3 (๊ณ ์ฐจ 1/20)", exact=True)
D = "๋ชจ๋“ˆ โ‘ฅ 3DGS ๋˜๋จน์ž„ ๋ฏธ์„ธ์กฐ์ •"
rep(D, "์ •์  PSNR (์ค‘์•™๊ฐ’)", "PSNR ๋ณ€ํ™”", exact=True)
rep(D, "23.92 โ†’ 23.65 dB (์›๋ž˜ ๊ถค์ , โˆ’0.27)", "์›๋ž˜ ๊ถค์  23.92 โ†’ 23.65 (โˆ’0.27) ยท ์˜† 1 m ๋…ธ๋ฉด +1.1 dB", exact=True)
rep(D, "์›์ธ ๋ถ„์„์€ ์ง„ํ–‰ ํ˜„ํ™ฉ์˜ '์ฐจ์„  ํ’ˆ์งˆ ์›์ธ ๋ถ„์„' ์žฅ.",
"์›์ธ ๋ถ„์„์€ ์ง„ํ–‰ ํ˜„ํ™ฉ์˜ '์ฐจ์„  ํ’ˆ์งˆ ์›์ธ ๋ถ„์„' ์žฅ. ๋‘ PSNR ์€ ๋‹ค๋ฅธ ์ง€ํ‘œ๋‹ค: โˆ’0.27 dB ๋Š” ์›๋ž˜ ๊ถค์  hold-out ์˜ ์ •์  ์˜์—ญ ์ค‘์•™๊ฐ’ (18๊ตฌ๊ฐ„), "
"+1.1 dB ๋Š” scene-0001 seg0 ์˜† 1 m ์‹œ์ ์˜ ๋…ธ๋ฉด ํ”ฝ์…€์„ ํ‰๋ฉด ์›Œํ”„ํ•œ ์‹ค์ œ ์‚ฌ์ง„๊ณผ ๋น„๊ตํ•œ ๊ฐ’ (25.14 โ†’ 26.22 dB).", notes=True)
Q = "์ฐจ์„  ํ’ˆ์งˆ ์›์ธ ๋ถ„์„"
rep(Q, "๋˜๋จน์ž„์€ PSNR ์„ ์•ฝ 1 dB ์˜ฌ๋ฆฌ์ง€๋งŒ",
"๋˜๋จน์ž„์€ ๋…ธ๋ฉด PSNR (ํ‰๋ฉด ์›Œํ”„ํ•œ ์‹ค์ œ ์‚ฌ์ง„ ๋Œ€๋น„, 0 ยท ยฑ1 m ์‹œ์ ) ์„ ์•ฝ 1 dB ์˜ฌ๋ฆฌ์ง€๋งŒ (+1 m: 25.14 โ†’ 26.22 dB โ€” ์›๋ž˜ ๊ถค์  ์ •์  PSNR ์€ โˆ’0.27 dB, ๋˜๋จน์ž„ ์žฅ)",
notes=True)
rep("๋‚ ์”จ ์ฃผํ–‰ ์˜์ƒ", "ํ”„๋ฆฌ์…‹ 11๊ฐœ", "ํ”„๋ฆฌ์…‹ 11๊ฐœ = ๋ง‘์Œ + ๋‚ ์”จ 10์ข…", notes=True)
rep("์•ˆ์ •์„ฑ ๊ฐœ์„ ", "ํ•™์Šต ๋‹จ์œ„ 79๊ฐœ ์‹คํŒจ", "ํ•™์Šต ๋‹จ์œ„ 178๊ฐœ ์‹คํŒจ (์•ฝ 55์”ฌ)", exact=True)
# ================================================================== 3. ๊ฐ™์€ ์ง€ํ‘œ๋Š” ๊ฐ™์€ ํ‘œ๋ณธ (313 ๋‹จ์œ„, 2026-10-15)
rep("์žฌ๊ตฌ์„ฑ ๊ฒฐ๊ณผ", "๊ตฌ๊ฐ„ ์ •์  PSNR ์ค‘์•™๊ฐ’ 24.7 dB (84 ๋‹จ์œ„), ํ•˜์œ„ 10% 22.1 dB, ํ•™์Šต ์‹คํŒจ 0๊ฑด",
"๊ตฌ๊ฐ„ ์ •์  PSNR ์ค‘์•™๊ฐ’ 24.71 dB ยท SSIM 0.767 (313 ๋‹จ์œ„), ํ•˜์œ„ 10% 22.0 dB โ€” ์‹คํŒจ 6๋‹จ์œ„๋Š” ๋ชจ๋‘ NAS ์ž…์ถœ๋ ฅ ์˜ค๋ฅ˜ (์žฌ๊ฐœ ๋•Œ ๋‹ค์‹œ ํ•™์Šต)")
T2 = "nuScenes ์›๋ž˜ ๊ฒฝ๋กœ ํ™”์งˆ โ€” ๊ทธ ๋ฐ–์˜ ๋…ผ๋ฌธ ํ”„๋กœํ† ์ฝœ"
rep(T2, "VKGS-Sim โ€” 258 ๋‹จ์œ„ ์ค‘์•™๊ฐ’ (15k ์Šคํ…)", "VKGS-Sim โ€” 313 ๋‹จ์œ„ ์ค‘์•™๊ฐ’ (15k ์Šคํ…)", exact=True)
rep(T2, "24.65", "24.71", exact=True)
rep(T2, "0.766", "0.767", exact=True)
T3 = "๋ Œ๋”๋ง ์†๋„ ร— ํ™”์งˆ"
rep(T3, "24.65 โ€ ", "24.71 โ€ ", exact=True)
rep(T3, "258 ๋‹จ์œ„ ์ค‘์•™๊ฐ’", "313 ๋‹จ์œ„ ์ค‘์•™๊ฐ’")
# ================================================================== 4. ์ง„ํ–‰ ์ˆ˜์น˜ (2026-10-15 20์‹œ)
cover = prs.slides[0]
for _, tf in frames(cover):
for p in tf.paragraphs:
for r in p.runs:
if r.text == "2026. 10. 14.":
r.text = "2026. 10. 15."
A = "ArtiFixer + ์ฐจ์„  ํ›„์ฒ˜๋ฆฌ ์ฆ๊ฐ• ๊ฒฐ๊ณผ"
rep(A, "10์”ฌ ์™„๋ฃŒ ยท 3,584์žฅ", "61์”ฌ ์™„๋ฃŒ ยท 21,962์žฅ (์‹คํŒจ 6์”ฌ)", exact=True)
rep(A, "๋‚จ์€ ์•ฝ 84์”ฌ (์•ฝ 2์ผ)", "๋‚จ์€ 27์”ฌ (10/15 20์‹œ, ์•ฝ 14์‹œ๊ฐ„)", exact=True)
M = "์‹ฑ๊ฐ€ํฌ๋ฅด ๋‚ฎ ๋งต ๊ตฌ์ถ• ํ˜„ํ™ฉ"
rep(M, "์‹ฑ๊ฐ€ํฌ๋ฅด ๋‚ฎ ๋งต ๊ตฌ์ถ• ํ˜„ํ™ฉ (2026-10-14)", "์‹ฑ๊ฐ€ํฌ๋ฅด ๋‚ฎ ๋งต ๊ตฌ์ถ• ํ˜„ํ™ฉ (2026-10-15)", exact=True)
rep(M, "ํ•™์Šต ๋‹จ์œ„ 696๊ฐœ ์ค‘ 313๊ฐœ (45%) ์™„๋ฃŒ", "ํ•™์Šต ๋‹จ์œ„ 696๊ฐœ ์ค‘ 319๊ฐœ (46%) ์™„๋ฃŒ")
rep(M, "313 / 696", "319 / 696", exact=True)
rep(M, "ํ•™์Šต ๋‹จ์œ„ (45%)", "ํ•™์Šต ๋‹จ์œ„ (46%)", exact=True)
rep(M, "10์”ฌ", "61์”ฌ", exact=True)
rep(M, "ArtiFixer + ์ฐจ์„  ํ›„์ฒ˜๋ฆฌ (3.6k์žฅ)", "ArtiFixer + ์ฐจ์„  ํ›„์ฒ˜๋ฆฌ (22.0k์žฅ)", exact=True)
rep(M, "313", "313 / 319", exact=True, name="TextBox 22")
rep(M, "์‹œ๋งจํ‹ฑ ๋ผ๋ฒจ (๋ชจ๋“  ๊ตฌ๊ฐ„)", "์‹œ๋งจํ‹ฑ ๋ผ๋ฒจ ๊ตฌ๊ฐ„ (์ƒˆ 6๊ตฌ๊ฐ„์€ ์—ด ๋•Œ ์ƒ์„ฑ)", exact=True)
rep(M, "10์›” 14์ผ", "10์›” 15์ผ", exact=True)
rep(M, "313", "319 (NAS ์˜ค๋ฅ˜ 6๋‹จ์œ„ ์žฌ์‹œ๋„ ๋Œ€๊ธฐ)", exact=True, name="Table 24")
rep(M, "10์”ฌ 3,584์žฅ ยท 7์”ฌ 18๊ตฌ๊ฐ„ ๋ฏธ์„ธ์กฐ์ • (gs_day_afx)", "61์”ฌ 21,962์žฅ ยท 7์”ฌ 18๊ตฌ๊ฐ„ ๋ฏธ์„ธ์กฐ์ • (gs_day_afx)", exact=True)
rep(M, "๋ชจ๋“  ๊ตฌ๊ฐ„ ๋ผ๋ฒจ ยท render view/map ์ด ์—†์œผ๋ฉด ์ž๋™ ์ƒ์„ฑ", "313 / 319 ๊ตฌ๊ฐ„ ๋ผ๋ฒจ ยท ์—†์œผ๋ฉด render view/map ์ด ์ž๋™ ์ƒ์„ฑ", exact=True)
rep("ํ–ฅํ›„ ์—ฐ๊ตฌ ๊ณ„ํš", "๋‚จ์€ ์•ฝ 84์”ฌ ArtiFixer ์ฆ๊ฐ• (์•ฝ 2์ผ) โ†’ day_map ์ผ๊ด„ ํ•™์Šต ์žฌ๊ฐœ (383๋‹จ์œ„ ๋‚จ์Œ)",
"๋‚จ์€ 27์”ฌ ArtiFixer ์ฆ๊ฐ• (์•ฝ 14์‹œ๊ฐ„) โ†’ day_map ์ผ๊ด„ ํ•™์Šต ์žฌ๊ฐœ (377๋‹จ์œ„ ๋‚จ์Œ)", exact=True)
# ================================================================== 6. ์—”์ง„ ๊ตฌ์กฐ๋„ ๊ทธ๋ฆผ (rg32f ๋ผ๋ฒจ)
for h, fn in (("์‹œ๋ฎฌ๋ ˆ์ด์…˜ ์—”์ง„ ์ „์ฒด ๊ตฌ์กฐ๋„", "fig_engine_pipeline.png"), (R, "fig_engine_pipeline_b.png")):
s = find(h)
pic = next(sh for sh in s.shapes if sh.shape_type == 13)
part = s.part.related_part(pic._element.blipFill.find(qn("a:blip")).get(qn("r:embed")))
new = (FIG / fn).read_bytes()
assert Image.open(FIG / fn).size == pic.image.size, fn # ๊ฐ™์€ ํŒํ˜•์ผ ๋•Œ๋งŒ ๋ฐ”๊ฟ” ๋ผ์šด๋‹ค
part._blob = new
# ================================================================== 5. ๊ฒน์น˜๋Š” ์›๋ž˜ ์„ฑ๋Šฅ ๋น„๊ต 2์žฅ (์ƒˆ ์žฅ์„ ๋‹ค ๋„ฃ์€ ๋’ค์— โ€” ๋จผ์ € ์ง€์šฐ๋ฉด ์ƒˆ ์žฅ ํŒŒ์ผ ์ด๋ฆ„์ด ๊ฒน์นœ๋‹ค)
for h in DELETE:
s = find(h)
if s is not None:
delete(s)
prs.save(OUT)
print("saved", OUT, len(prs.slides), "slides")