{"version":2,"relationshipURLBase":"https://codingai-lec03.pages.dev/course/blocks/iou-and-small-boxes.html","relationshipResolution":"Resolve relative relationship URLs against relationshipURLBase; complete records and absolute URLs are in blocks.","title":"同样移动一个单位，小框为什么更吃亏","url":"https://codingai-lec03.pages.dev/course/blocks/iou-and-small-boxes.html","markdown":"https://codingai-lec03.pages.dev/course/blocks/iou-and-small-boxes.md","pages":[{"id":"reading-opening","title":"同样移动一个单位，小框为什么更吃亏","unit":"检测分数很高，错误究竟在哪里？","unitId":"detection-errors-and-evidence","chapter":"II","number":1}],"aliases":[{"oldId":"b-4daefdcf33d1ba1d43dfd421","targetId":"b-4daefdcf33d1ba1d43dfd421","page":"reading-opening","operation":"move","beforeSHA256":"91ec114e8c9402a4b3d228194d0893e24bfd0dbb2764f22b6a70874519c658e3","afterSHA256":"91ec114e8c9402a4b3d228194d0893e24bfd0dbb2764f22b6a70874519c658e3","reason":"Same source body in authored semantic page"},{"oldId":"b-73d2666eb8b5408ef97afbb5","targetId":"b-73d2666eb8b5408ef97afbb5","page":"reading-opening","operation":"move","beforeSHA256":"66f71cd1faef17a7a06a83c631491bac5b4f376e49bca8b1f468f3604df1787a","afterSHA256":"66f71cd1faef17a7a06a83c631491bac5b4f376e49bca8b1f468f3604df1787a","reason":"Same source body in authored semantic page"},{"oldId":"b-15c2006a60b9608bb4c129ab","targetId":"b-15c2006a60b9608bb4c129ab","page":"reading-opening","operation":"move","beforeSHA256":"bf5d31cadfd50ca284a60bb547f67a52f4c270db4c300a68429ac3e2748f7219","afterSHA256":"bf5d31cadfd50ca284a60bb547f67a52f4c270db4c300a68429ac3e2748f7219","reason":"Same source body in authored semantic page"},{"oldId":"b-88733fdc23f23e781244c369","targetId":"b-88733fdc23f23e781244c369","page":"reading-opening","operation":"move","beforeSHA256":"a4e5d6aa0c8f013ed1b565b3ac5097f4deb419989596d8302954e25684358f1e","afterSHA256":"a4e5d6aa0c8f013ed1b565b3ac5097f4deb419989596d8302954e25684358f1e","reason":"Same source body in authored semantic page"},{"oldId":"b-84022d905ee368933ea6ae9f","targetId":"b-84022d905ee368933ea6ae9f","page":"reading-opening","operation":"move","beforeSHA256":"1ed9c49b9e5eb73a79b5965633c6d3a0f4eb6ecd61881ccb591c7de5896226b8","afterSHA256":"1ed9c49b9e5eb73a79b5965633c6d3a0f4eb6ecd61881ccb591c7de5896226b8","reason":"Same source body in authored semantic page"},{"oldId":"b-be0b8e021e6217bb7031a5da","targetId":"b-be0b8e021e6217bb7031a5da","page":"reading-opening","operation":"rewrite","beforeSHA256":"0b1ea33184f02d479597cd64996309993a633cf59bbffbb51615d4ca7a1c048a","afterSHA256":"470c11b12022a49d653607b198bfedd4e52c4f337aa398ef33d583ce54010b62","reason":"Same source identity with figure semantics or reading context enriched"},{"oldId":"b-e36d74aab4732cbace88a7ed","targetId":"b-e36d74aab4732cbace88a7ed","page":"reading-opening","operation":"move","beforeSHA256":"2b9ccef7e1220e2250cceff1abd8bdd736b42f8da5a223f26b029f44b962e807","afterSHA256":"2b9ccef7e1220e2250cceff1abd8bdd736b42f8da5a223f26b029f44b962e807","reason":"Same source body in authored semantic page"}],"blocks":[{"id":"b-4daefdcf33d1ba1d43dfd421","type":"h1","scope":"iou-and-small-boxes","url":"https://codingai-lec03.pages.dev/course/blocks/iou-and-small-boxes.html#b-4daefdcf33d1ba1d43dfd421","content":"# 同样移动一个单位，小框为什么更吃亏","sha256":"91ec114e8c9402a4b3d228194d0893e24bfd0dbb2764f22b6a70874519c658e3","chapter":{"id":"II","title":"区域、像素与实例"},"unit":{"id":"detection-errors-and-evidence","title":"检测分数很高，错误究竟在哪里？"},"page":{"id":"reading-opening","title":"同样移动一个单位，小框为什么更吃亏","number":1},"sectionTitle":"同样移动一个单位，小框为什么更吃亏","currentQuestion":"同样移动一个单位，小框为什么更吃亏","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":null,"nextBlock":"b-73d2666eb8b5408ef97afbb5","prerequisites":[{"id":"b-73d2666eb8b5408ef97afbb5","url":"#b-73d2666eb8b5408ef97afbb5","role":"problem-context"}],"relatedBlocks":[{"id":"b-be0b8e021e6217bb7031a5da","url":"#b-be0b8e021e6217bb7031a5da","relation":"figure-and-explanation"}]},{"id":"b-73d2666eb8b5408ef97afbb5","type":"p","scope":"iou-and-small-boxes","url":"https://codingai-lec03.pages.dev/course/blocks/iou-and-small-boxes.html#b-73d2666eb8b5408ef97afbb5","content":"从错类、漏检、框偏和重复四项错误读结果。IoU 把位置偏差变成可比较几何量，AP 再加入分数排序与对象唯一匹配。沿下方积分例走完分数排序、精确率与召回率计算，再用 LAB10 的结果辨认这些错误。","sha256":"66f71cd1faef17a7a06a83c631491bac5b4f376e49bca8b1f468f3604df1787a","chapter":{"id":"II","title":"区域、像素与实例"},"unit":{"id":"detection-errors-and-evidence","title":"检测分数很高，错误究竟在哪里？"},"page":{"id":"reading-opening","title":"同样移动一个单位，小框为什么更吃亏","number":1},"sectionTitle":"同样移动一个单位，小框为什么更吃亏","currentQuestion":"同样移动一个单位，小框为什么更吃亏","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":"b-4daefdcf33d1ba1d43dfd421","nextBlock":"b-15c2006a60b9608bb4c129ab","prerequisites":[{"id":"b-4daefdcf33d1ba1d43dfd421","url":"#b-4daefdcf33d1ba1d43dfd421","role":"section-title"}],"relatedBlocks":[{"id":"b-be0b8e021e6217bb7031a5da","url":"#b-be0b8e021e6217bb7031a5da","relation":"figure-and-explanation"}]},{"id":"b-15c2006a60b9608bb4c129ab","type":"p","scope":"iou-and-small-boxes","url":"https://codingai-lec03.pages.dev/course/blocks/iou-and-small-boxes.html#b-15c2006a60b9608bb4c129ab","content":"两个面积均为 4 的框，交集为 2，并集为 $4+4-2=6$，所以 IoU=1/3，而不是 1/2。分母必须是覆盖总面积，不能只用真值面积。连续坐标的宽写作 $x_2-x_1$，不要混入“整数像素含两端”的加一规则。","sha256":"bf5d31cadfd50ca284a60bb547f67a52f4c270db4c300a68429ac3e2748f7219","chapter":{"id":"II","title":"区域、像素与实例"},"unit":{"id":"detection-errors-and-evidence","title":"检测分数很高，错误究竟在哪里？"},"page":{"id":"reading-opening","title":"同样移动一个单位，小框为什么更吃亏","number":1},"sectionTitle":"同样移动一个单位，小框为什么更吃亏","currentQuestion":"同样移动一个单位，小框为什么更吃亏","sourceSlides":[],"knowledgeBlock":null,"formulas":[{"latex":"4+4-2=6","definitionContext":"同样移动一个单位，小框为什么更吃亏"},{"latex":"x_2-x_1","definitionContext":"同样移动一个单位，小框为什么更吃亏"}],"previousBlock":"b-73d2666eb8b5408ef97afbb5","nextBlock":"b-88733fdc23f23e781244c369","prerequisites":[{"id":"b-4daefdcf33d1ba1d43dfd421","url":"#b-4daefdcf33d1ba1d43dfd421","role":"section-title"},{"id":"b-73d2666eb8b5408ef97afbb5","url":"#b-73d2666eb8b5408ef97afbb5","role":"problem-context"}],"relatedBlocks":[{"id":"b-be0b8e021e6217bb7031a5da","url":"#b-be0b8e021e6217bb7031a5da","relation":"figure-and-explanation"}]},{"id":"b-88733fdc23f23e781244c369","type":"p","scope":"iou-and-small-boxes","url":"https://codingai-lec03.pages.dev/course/blocks/iou-and-small-boxes.html#b-88733fdc23f23e781244c369","content":"把两个同样大小的正方形横向错开 d，边长为 w 且 $0\\le d<w$。交集面积 $(w-d)w$，并集 $(w+d)w$，于是 IoU=$(w-d)/(w+d)$。错开一个单位时，边长 10 的框 IoU=9/11，边长 2 的框却只有 1/3。绝对坐标误差相同，几何质量不同。","sha256":"a4e5d6aa0c8f013ed1b565b3ac5097f4deb419989596d8302954e25684358f1e","chapter":{"id":"II","title":"区域、像素与实例"},"unit":{"id":"detection-errors-and-evidence","title":"检测分数很高，错误究竟在哪里？"},"page":{"id":"reading-opening","title":"同样移动一个单位，小框为什么更吃亏","number":1},"sectionTitle":"同样移动一个单位，小框为什么更吃亏","currentQuestion":"同样移动一个单位，小框为什么更吃亏","sourceSlides":[],"knowledgeBlock":null,"formulas":[{"latex":"0\\le d<w","definitionContext":"同样移动一个单位，小框为什么更吃亏"},{"latex":"(w-d)w","definitionContext":"同样移动一个单位，小框为什么更吃亏"},{"latex":"(w+d)w","definitionContext":"同样移动一个单位，小框为什么更吃亏"},{"latex":"(w-d)/(w+d)","definitionContext":"同样移动一个单位，小框为什么更吃亏"}],"previousBlock":"b-15c2006a60b9608bb4c129ab","nextBlock":"b-84022d905ee368933ea6ae9f","prerequisites":[{"id":"b-4daefdcf33d1ba1d43dfd421","url":"#b-4daefdcf33d1ba1d43dfd421","role":"section-title"},{"id":"b-73d2666eb8b5408ef97afbb5","url":"#b-73d2666eb8b5408ef97afbb5","role":"problem-context"}],"relatedBlocks":[{"id":"b-be0b8e021e6217bb7031a5da","url":"#b-be0b8e021e6217bb7031a5da","relation":"figure-and-explanation"}]},{"id":"b-84022d905ee368933ea6ae9f","type":"p","scope":"iou-and-small-boxes","url":"https://codingai-lec03.pages.dev/course/blocks/iou-and-small-boxes.html#b-84022d905ee368933ea6ae9f","content":"检测检查还要分清错类、漏检、框偏和重复。分数只说明模型的相对确信程度，不能直接把偏掉的框变准。若同一模型 AP50 很好而 AP75 明显下降，说明它能覆盖不少对象，但更严格位置要求暴露了问题；还应查看具体预测，才能知道误差来自偏移、大小还是同类拥挤。","sha256":"1ed9c49b9e5eb73a79b5965633c6d3a0f4eb6ecd61881ccb591c7de5896226b8","chapter":{"id":"II","title":"区域、像素与实例"},"unit":{"id":"detection-errors-and-evidence","title":"检测分数很高，错误究竟在哪里？"},"page":{"id":"reading-opening","title":"同样移动一个单位，小框为什么更吃亏","number":1},"sectionTitle":"同样移动一个单位，小框为什么更吃亏","currentQuestion":"同样移动一个单位，小框为什么更吃亏","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":"b-88733fdc23f23e781244c369","nextBlock":"b-be0b8e021e6217bb7031a5da","prerequisites":[{"id":"b-4daefdcf33d1ba1d43dfd421","url":"#b-4daefdcf33d1ba1d43dfd421","role":"section-title"},{"id":"b-73d2666eb8b5408ef97afbb5","url":"#b-73d2666eb8b5408ef97afbb5","role":"problem-context"}],"relatedBlocks":[{"id":"b-be0b8e021e6217bb7031a5da","url":"#b-be0b8e021e6217bb7031a5da","relation":"figure-and-explanation"}]},{"id":"b-be0b8e021e6217bb7031a5da","type":"figure","scope":"iou-and-small-boxes","url":"https://codingai-lec03.pages.dev/course/blocks/iou-and-small-boxes.html#b-be0b8e021e6217bb7031a5da","content":"图内标签与数值：Lecture 03 课堂图解 P35；漏检；没有报告蓝杯；错类别；红杯 → “花瓶”；偏位；重复；面积各 4 · 交集 2；IoU = 2 / (4 + 4 − 2) = 1/3；类别分数高，不会自动修正位置；检测错误要分开检查；完整匹配、阈值和 AP 协议在补充阅读。\n\n分类、位置、重复和遗漏是可分开的错误。 查看对应图解状态\n\n- 漏检\n- 没有报告蓝杯\n- 错类别\n- 红杯 → “花瓶”\n- 偏位\n- 重复\n- 面积各 4 · 交集 2\n- IoU = 2 / (4 + 4 − 2) = 1/3\n- 类别分数高，不会自动修正位置\n- 检测错误要分开检查；完整匹配、阈值和 AP 协议在补充阅读。分类、位置、重复和遗漏是可分开的错误。 [查看对应图解状态](/#/l3-r2-p35/0)[查看完整图解](/#/l3-r2-p35/0)","sha256":"470c11b12022a49d653607b198bfedd4e52c4f337aa398ef33d583ce54010b62","chapter":{"id":"II","title":"区域、像素与实例"},"unit":{"id":"detection-errors-and-evidence","title":"检测分数很高，错误究竟在哪里？"},"page":{"id":"reading-opening","title":"同样移动一个单位，小框为什么更吃亏","number":1},"sectionTitle":"同样移动一个单位，小框为什么更吃亏","currentQuestion":"同样移动一个单位，小框为什么更吃亏","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"figure":{"caption":"分类、位置、重复和遗漏是可分开的错误。 查看对应图解状态","labels":["漏检","没有报告蓝杯","错类别","红杯 → “花瓶”","偏位","重复","面积各 4 · 交集 2","IoU = 2 / (4 + 4 − 2) = 1/3","类别分数高，不会自动修正位置","检测错误要分开检查；完整匹配、阈值和 AP 协议在补充阅读。"],"description":"分类、位置、重复和遗漏是可分开的错误。 查看对应图解状态漏检没有报告蓝杯错类别红杯 → “花瓶”偏位重复面积各 4 · 交集 2IoU = 2 / (4 + 4 − 2) = 1/3类别分数高，不会自动修正位置检测错误要分开检查；完整匹配、阈值和 AP 协议在补充阅读。","evidenceIdentity":"分类、位置、重复和遗漏是可分开的错误。 查看对应图解状态","images":[{"src":"/assets/display/8ced939a1fd55047fbf73ea5.webp","alt":""},{"src":"/assets/display/8ced939a1fd55047fbf73ea5.webp","alt":""},{"src":"/assets/display/8ced939a1fd55047fbf73ea5.webp","alt":""},{"src":"/assets/display/8ced939a1fd55047fbf73ea5.webp","alt":""}]},"previousBlock":"b-84022d905ee368933ea6ae9f","nextBlock":"b-e36d74aab4732cbace88a7ed","prerequisites":[{"id":"b-4daefdcf33d1ba1d43dfd421","url":"#b-4daefdcf33d1ba1d43dfd421","role":"section-title"},{"id":"b-73d2666eb8b5408ef97afbb5","url":"#b-73d2666eb8b5408ef97afbb5","role":"problem-context"}],"relatedBlocks":[]},{"id":"b-e36d74aab4732cbace88a7ed","type":"h2","scope":"iou-and-small-boxes","url":"https://codingai-lec03.pages.dev/course/blocks/iou-and-small-boxes.html#b-e36d74aab4732cbace88a7ed","content":"## 继续阅读与实验","sha256":"2b9ccef7e1220e2250cceff1abd8bdd736b42f8da5a223f26b029f44b962e807","chapter":{"id":"II","title":"区域、像素与实例"},"unit":{"id":"detection-errors-and-evidence","title":"检测分数很高，错误究竟在哪里？"},"page":{"id":"reading-opening","title":"同样移动一个单位，小框为什么更吃亏","number":1},"sectionTitle":"同样移动一个单位，小框为什么更吃亏","currentQuestion":"同样移动一个单位，小框为什么更吃亏","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":"b-be0b8e021e6217bb7031a5da","nextBlock":null,"prerequisites":[{"id":"b-4daefdcf33d1ba1d43dfd421","url":"#b-4daefdcf33d1ba1d43dfd421","role":"section-title"},{"id":"b-73d2666eb8b5408ef97afbb5","url":"#b-73d2666eb8b5408ef97afbb5","role":"problem-context"}],"relatedBlocks":[{"id":"b-be0b8e021e6217bb7031a5da","url":"#b-be0b8e021e6217bb7031a5da","relation":"figure-and-explanation"}]}]}
