{"version":2,"relationshipURLBase":"https://codingai-lec03.pages.dev/course/notebook-blocks/487567d0bb1d40039f1f87805d46ee76.html","relationshipResolution":"Resolve relative relationship URLs against relationshipURLBase; complete records and absolute URLs are in blocks.","title":"固定锚框怎样变成待学习的偏移","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/487567d0bb1d40039f1f87805d46ee76.html","markdown":"https://codingai-lec03.pages.dev/course/notebook-blocks/487567d0bb1d40039f1f87805d46ee76.md","pages":[{"id":"reading-opening","title":"固定锚框怎样变成待学习的偏移","unit":"固定锚框怎样变成待学习的偏移","unitId":"notebook-blocks/487567d0bb1d40039f1f87805d46ee76","chapter":"course","number":1}],"aliases":[{"oldId":"b-c562681f1f912a80494cd8e3","targetId":"b-c562681f1f912a80494cd8e3","page":"reading-opening","operation":"move","beforeSHA256":"68ab73f0c1cbd872efb5dd565e57f07f1b4a2b56c5ea0ce2c6ed91ff60ff5a3f","afterSHA256":"68ab73f0c1cbd872efb5dd565e57f07f1b4a2b56c5ea0ce2c6ed91ff60ff5a3f","reason":"Same source body in authored semantic page"},{"oldId":"b-0ae116ca44be9311c06251c4","targetId":"b-0ae116ca44be9311c06251c4","page":"reading-opening","operation":"move","beforeSHA256":"6bda2458f31b8515d9e50f8eae90ed69959944bd4763c8119f261fcab2ab251e","afterSHA256":"6bda2458f31b8515d9e50f8eae90ed69959944bd4763c8119f261fcab2ab251e","reason":"Same source body in authored semantic page"},{"oldId":"b-4d36ab030445e5ffd81facb3","targetId":"b-4d36ab030445e5ffd81facb3","page":"reading-opening","operation":"move","beforeSHA256":"42cba31deccba2a350b9b23bd0ca1dcaa4c4c5cb9d35c773e1fcb89124788ccd","afterSHA256":"42cba31deccba2a350b9b23bd0ca1dcaa4c4c5cb9d35c773e1fcb89124788ccd","reason":"Same source body in authored semantic page"},{"oldId":"b-ed754f97dc1e0d92ee69ac3a","targetId":"b-ed754f97dc1e0d92ee69ac3a","page":"reading-opening","operation":"move","beforeSHA256":"b1c765d7bf903321abd36e75bae49048d61faec2aa3fd11922b328c5970003b1","afterSHA256":"b1c765d7bf903321abd36e75bae49048d61faec2aa3fd11922b328c5970003b1","reason":"Same source body in authored semantic page"},{"oldId":"b-7b92670a46d5be709a1e835a","targetId":"b-7b92670a46d5be709a1e835a","page":"reading-opening","operation":"move","beforeSHA256":"c18a731b0741ea5dc8455aa95ff4e3aa4cdbdd52147c2c754288882b966b2fff","afterSHA256":"c18a731b0741ea5dc8455aa95ff4e3aa4cdbdd52147c2c754288882b966b2fff","reason":"Same source body in authored semantic page"},{"oldId":"b-9654fcda7ea23ea77f6ad0a4","targetId":"b-9654fcda7ea23ea77f6ad0a4","page":"reading-opening","operation":"move","beforeSHA256":"f75c5092579fa19dfcbe964303c4293706d70207d65ae39daa074b9f9a326009","afterSHA256":"f75c5092579fa19dfcbe964303c4293706d70207d65ae39daa074b9f9a326009","reason":"Same source body in authored semantic page"},{"oldId":"b-954839fee4db94b6cc06cff1","targetId":"b-954839fee4db94b6cc06cff1","page":"reading-opening","operation":"move","beforeSHA256":"d38bb953c0f055c9c6edbfca55c4e07842898a4cd1866288229b4c401e4be5cf","afterSHA256":"d38bb953c0f055c9c6edbfca55c4e07842898a4cd1866288229b4c401e4be5cf","reason":"Same source body in authored semantic page"},{"oldId":"block-487567d0bb1d40039f1f87805d46ee76--固定锚框怎样变成待学习的偏移","targetId":"b-7b92670a46d5be709a1e835a","operation":"retain-source-identity"}],"blocks":[{"id":"b-c562681f1f912a80494cd8e3","type":"p","scope":"document","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/487567d0bb1d40039f1f87805d46ee76.html#b-c562681f1f912a80494cd8e3","content":"[LAB 10 · 从 RGB 图像训练小型检测器](/course/notebooks/a14237bfa9dd413d959ab4e458e11f42.html)","sha256":"68ab73f0c1cbd872efb5dd565e57f07f1b4a2b56c5ea0ce2c6ed91ff60ff5a3f","chapter":{"id":"course","title":"固定锚框怎样变成待学习的偏移"},"unit":{"id":"notebook-blocks/487567d0bb1d40039f1f87805d46ee76","title":"固定锚框怎样变成待学习的偏移"},"page":{"id":"reading-opening","title":"固定锚框怎样变成待学习的偏移","number":1},"sectionTitle":"固定锚框怎样变成待学习的偏移","currentQuestion":"固定锚框怎样变成待学习的偏移","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":null,"nextBlock":"b-0ae116ca44be9311c06251c4","prerequisites":[],"relatedBlocks":[]},{"id":"b-0ae116ca44be9311c06251c4","type":"h1","scope":"document","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/487567d0bb1d40039f1f87805d46ee76.html#b-0ae116ca44be9311c06251c4","content":"# 固定锚框怎样变成待学习的偏移","sha256":"6bda2458f31b8515d9e50f8eae90ed69959944bd4763c8119f261fcab2ab251e","chapter":{"id":"course","title":"固定锚框怎样变成待学习的偏移"},"unit":{"id":"notebook-blocks/487567d0bb1d40039f1f87805d46ee76","title":"固定锚框怎样变成待学习的偏移"},"page":{"id":"reading-opening","title":"固定锚框怎样变成待学习的偏移","number":1},"sectionTitle":"固定锚框怎样变成待学习的偏移","currentQuestion":"固定锚框怎样变成待学习的偏移","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":"b-c562681f1f912a80494cd8e3","nextBlock":"b-4d36ab030445e5ffd81facb3","prerequisites":[{"id":"b-c562681f1f912a80494cd8e3","url":"#b-c562681f1f912a80494cd8e3","role":"problem-context"}],"relatedBlocks":[]},{"id":"b-4d36ab030445e5ffd81facb3","type":"p","scope":"document","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/487567d0bb1d40039f1f87805d46ee76.html#b-4d36ab030445e5ffd81facb3","content":"主线阅读与优先实验","sha256":"42cba31deccba2a350b9b23bd0ca1dcaa4c4c5cb9d35c773e1fcb89124788ccd","chapter":{"id":"course","title":"固定锚框怎样变成待学习的偏移"},"unit":{"id":"notebook-blocks/487567d0bb1d40039f1f87805d46ee76","title":"固定锚框怎样变成待学习的偏移"},"page":{"id":"reading-opening","title":"固定锚框怎样变成待学习的偏移","number":1},"sectionTitle":"固定锚框怎样变成待学习的偏移","currentQuestion":"固定锚框怎样变成待学习的偏移","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":"b-0ae116ca44be9311c06251c4","nextBlock":"b-ed754f97dc1e0d92ee69ac3a","prerequisites":[{"id":"b-0ae116ca44be9311c06251c4","url":"#b-0ae116ca44be9311c06251c4","role":"section-title"},{"id":"b-c562681f1f912a80494cd8e3","url":"#b-c562681f1f912a80494cd8e3","role":"problem-context"}],"relatedBlocks":[]},{"id":"b-ed754f97dc1e0d92ee69ac3a","type":"p","scope":"document","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/487567d0bb1d40039f1f87805d46ee76.html#b-ed754f97dc1e0d92ee69ac3a","content":"RGB图像、单特征层锚框检测器、分类/位置损失、NMS、独立检测评价","sha256":"b1c765d7bf903321abd36e75bae49048d61faec2aa3fd11922b328c5970003b1","chapter":{"id":"course","title":"固定锚框怎样变成待学习的偏移"},"unit":{"id":"notebook-blocks/487567d0bb1d40039f1f87805d46ee76","title":"固定锚框怎样变成待学习的偏移"},"page":{"id":"reading-opening","title":"固定锚框怎样变成待学习的偏移","number":1},"sectionTitle":"固定锚框怎样变成待学习的偏移","currentQuestion":"固定锚框怎样变成待学习的偏移","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":"b-4d36ab030445e5ffd81facb3","nextBlock":"b-7b92670a46d5be709a1e835a","prerequisites":[{"id":"b-0ae116ca44be9311c06251c4","url":"#b-0ae116ca44be9311c06251c4","role":"section-title"},{"id":"b-c562681f1f912a80494cd8e3","url":"#b-c562681f1f912a80494cd8e3","role":"problem-context"}],"relatedBlocks":[]},{"id":"b-7b92670a46d5be709a1e835a","type":"h2","scope":"document","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/487567d0bb1d40039f1f87805d46ee76.html#b-7b92670a46d5be709a1e835a","content":"## 固定锚框怎样变成待学习的偏移","sha256":"c18a731b0741ea5dc8455aa95ff4e3aa4cdbdd52147c2c754288882b966b2fff","chapter":{"id":"course","title":"固定锚框怎样变成待学习的偏移"},"unit":{"id":"notebook-blocks/487567d0bb1d40039f1f87805d46ee76","title":"固定锚框怎样变成待学习的偏移"},"page":{"id":"reading-opening","title":"固定锚框怎样变成待学习的偏移","number":1},"sectionTitle":"固定锚框怎样变成待学习的偏移","currentQuestion":"固定锚框怎样变成待学习的偏移","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":"b-ed754f97dc1e0d92ee69ac3a","nextBlock":"b-9654fcda7ea23ea77f6ad0a4","prerequisites":[{"id":"b-0ae116ca44be9311c06251c4","url":"#b-0ae116ca44be9311c06251c4","role":"section-title"},{"id":"b-c562681f1f912a80494cd8e3","url":"#b-c562681f1f912a80494cd8e3","role":"problem-context"}],"relatedBlocks":[]},{"id":"b-9654fcda7ea23ea77f6ad0a4","type":"p","scope":"document","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/487567d0bb1d40039f1f87805d46ee76.html#b-9654fcda7ea23ea77f6ad0a4","content":"骨干把 $48\\times48$ 图像映射为 $12\\times12$ 特征；每格两个正方形锚框，边长 .23、.37，总共 288 个。这是 TinySSD 核心流程的单特征层教学变体，保留多尺寸锚框，没有照搬 D2L 的多层特征金字塔。","sha256":"f75c5092579fa19dfcbe964303c4293706d70207d65ae39daa074b9f9a326009","chapter":{"id":"course","title":"固定锚框怎样变成待学习的偏移"},"unit":{"id":"notebook-blocks/487567d0bb1d40039f1f87805d46ee76","title":"固定锚框怎样变成待学习的偏移"},"page":{"id":"reading-opening","title":"固定锚框怎样变成待学习的偏移","number":1},"sectionTitle":"固定锚框怎样变成待学习的偏移","currentQuestion":"固定锚框怎样变成待学习的偏移","sourceSlides":[],"knowledgeBlock":null,"formulas":[{"latex":"48\\times48","definitionContext":"固定锚框怎样变成待学习的偏移"},{"latex":"12\\times12","definitionContext":"固定锚框怎样变成待学习的偏移"}],"previousBlock":"b-7b92670a46d5be709a1e835a","nextBlock":"b-954839fee4db94b6cc06cff1","prerequisites":[{"id":"b-7b92670a46d5be709a1e835a","url":"#b-7b92670a46d5be709a1e835a","role":"section-title"},{"id":"b-c562681f1f912a80494cd8e3","url":"#b-c562681f1f912a80494cd8e3","role":"problem-context"}],"relatedBlocks":[]},{"id":"b-954839fee4db94b6cc06cff1","type":"p","scope":"document","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/487567d0bb1d40039f1f87805d46ee76.html#b-954839fee4db94b6cc06cff1","content":"一个锚框的中心为 $(a_x,a_y)$、宽高 $(a_w,a_h)$，目标框为 $(b_x,b_y,b_w,b_h)$。回归目标为 $((b_x-a_x)/a_w,(b_y-a_y)/a_h,\\log(b_w/a_w),\\log(b_h/a_h))$。解码使用逆变换，所以网络在每个位置学四个实数，而不是直接从真值读取位置。`decode(anchors,encode(anchors,boxes))` 的往返检验在有效框上通过。","sha256":"d38bb953c0f055c9c6edbfca55c4e07842898a4cd1866288229b4c401e4be5cf","chapter":{"id":"course","title":"固定锚框怎样变成待学习的偏移"},"unit":{"id":"notebook-blocks/487567d0bb1d40039f1f87805d46ee76","title":"固定锚框怎样变成待学习的偏移"},"page":{"id":"reading-opening","title":"固定锚框怎样变成待学习的偏移","number":1},"sectionTitle":"固定锚框怎样变成待学习的偏移","currentQuestion":"固定锚框怎样变成待学习的偏移","sourceSlides":[],"knowledgeBlock":null,"formulas":[{"latex":"(a_x,a_y)","definitionContext":"固定锚框怎样变成待学习的偏移"},{"latex":"(a_w,a_h)","definitionContext":"固定锚框怎样变成待学习的偏移"},{"latex":"(b_x,b_y,b_w,b_h)","definitionContext":"固定锚框怎样变成待学习的偏移"},{"latex":"((b_x-a_x)/a_w,(b_y-a_y)/a_h,\\log(b_w/a_w),\\log(b_h/a_h))","definitionContext":"固定锚框怎样变成待学习的偏移"}],"previousBlock":"b-9654fcda7ea23ea77f6ad0a4","nextBlock":null,"prerequisites":[{"id":"b-7b92670a46d5be709a1e835a","url":"#b-7b92670a46d5be709a1e835a","role":"section-title"},{"id":"b-c562681f1f912a80494cd8e3","url":"#b-c562681f1f912a80494cd8e3","role":"problem-context"}],"relatedBlocks":[]}]}
