{"version":2,"relationshipURLBase":"https://codingai-lec03.pages.dev/course/notebook-blocks/e4979dd3569c4ce4855112dd4b062c23.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/e4979dd3569c4ce4855112dd4b062c23.html","markdown":"https://codingai-lec03.pages.dev/course/notebook-blocks/e4979dd3569c4ce4855112dd4b062c23.md","pages":[{"id":"reading-opening","title":"实际训练与可复查的输出 · 实现代码","unit":"实际训练与可复查的输出 · 实现代码","unitId":"notebook-blocks/e4979dd3569c4ce4855112dd4b062c23","chapter":"course","number":1}],"aliases":[{"oldId":"b-bdd2aa64edc48000f718728e","targetId":"b-bdd2aa64edc48000f718728e","page":"reading-opening","operation":"move","beforeSHA256":"68ab73f0c1cbd872efb5dd565e57f07f1b4a2b56c5ea0ce2c6ed91ff60ff5a3f","afterSHA256":"68ab73f0c1cbd872efb5dd565e57f07f1b4a2b56c5ea0ce2c6ed91ff60ff5a3f","reason":"Same source body in authored semantic page"},{"oldId":"b-e7cb59fa128fa870e74fb080","targetId":"b-e7cb59fa128fa870e74fb080","page":"reading-opening","operation":"move","beforeSHA256":"0070125c30084ec17d45af1229593325a4a678a359c8c1e243d3840f4cedc74c","afterSHA256":"0070125c30084ec17d45af1229593325a4a678a359c8c1e243d3840f4cedc74c","reason":"Same source body in authored semantic page"},{"oldId":"b-3a6a3166a0c5d7c1a1fdbd9c","targetId":"b-3a6a3166a0c5d7c1a1fdbd9c","page":"reading-opening","operation":"move","beforeSHA256":"42cba31deccba2a350b9b23bd0ca1dcaa4c4c5cb9d35c773e1fcb89124788ccd","afterSHA256":"42cba31deccba2a350b9b23bd0ca1dcaa4c4c5cb9d35c773e1fcb89124788ccd","reason":"Same source body in authored semantic page"},{"oldId":"b-549a307ac735e613bd1b7c79","targetId":"b-549a307ac735e613bd1b7c79","page":"reading-opening","operation":"move","beforeSHA256":"b1c765d7bf903321abd36e75bae49048d61faec2aa3fd11922b328c5970003b1","afterSHA256":"b1c765d7bf903321abd36e75bae49048d61faec2aa3fd11922b328c5970003b1","reason":"Same source body in authored semantic page"},{"oldId":"b-c650ce8bb85461ee3eb819bc","targetId":"b-c650ce8bb85461ee3eb819bc","page":"reading-opening","operation":"move","beforeSHA256":"0a748c53d9a4c3bfaa27b3278192fb7b8f6dd8e500e31fe3d83843c1683cb0d6","afterSHA256":"0a748c53d9a4c3bfaa27b3278192fb7b8f6dd8e500e31fe3d83843c1683cb0d6","reason":"Same source body in authored semantic page"}],"blocks":[{"id":"b-bdd2aa64edc48000f718728e","type":"p","scope":"document","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/e4979dd3569c4ce4855112dd4b062c23.html#b-bdd2aa64edc48000f718728e","content":"[LAB 10 · 从 RGB 图像训练小型检测器](/course/notebooks/a14237bfa9dd413d959ab4e458e11f42.html)","sha256":"68ab73f0c1cbd872efb5dd565e57f07f1b4a2b56c5ea0ce2c6ed91ff60ff5a3f","chapter":{"id":"course","title":"实际训练与可复查的输出 · 实现代码"},"unit":{"id":"notebook-blocks/e4979dd3569c4ce4855112dd4b062c23","title":"实际训练与可复查的输出 · 实现代码"},"page":{"id":"reading-opening","title":"实际训练与可复查的输出 · 实现代码","number":1},"sectionTitle":"实际训练与可复查的输出 · 实现代码","currentQuestion":"实际训练与可复查的输出 · 实现代码","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":null,"nextBlock":"b-e7cb59fa128fa870e74fb080","prerequisites":[],"relatedBlocks":[]},{"id":"b-e7cb59fa128fa870e74fb080","type":"h1","scope":"document","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/e4979dd3569c4ce4855112dd4b062c23.html#b-e7cb59fa128fa870e74fb080","content":"# 实际训练与可复查的输出 · 实现代码","sha256":"0070125c30084ec17d45af1229593325a4a678a359c8c1e243d3840f4cedc74c","chapter":{"id":"course","title":"实际训练与可复查的输出 · 实现代码"},"unit":{"id":"notebook-blocks/e4979dd3569c4ce4855112dd4b062c23","title":"实际训练与可复查的输出 · 实现代码"},"page":{"id":"reading-opening","title":"实际训练与可复查的输出 · 实现代码","number":1},"sectionTitle":"实际训练与可复查的输出 · 实现代码","currentQuestion":"实际训练与可复查的输出 · 实现代码","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":"b-bdd2aa64edc48000f718728e","nextBlock":"b-3a6a3166a0c5d7c1a1fdbd9c","prerequisites":[{"id":"b-bdd2aa64edc48000f718728e","url":"#b-bdd2aa64edc48000f718728e","role":"problem-context"}],"relatedBlocks":[]},{"id":"b-3a6a3166a0c5d7c1a1fdbd9c","type":"p","scope":"document","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/e4979dd3569c4ce4855112dd4b062c23.html#b-3a6a3166a0c5d7c1a1fdbd9c","content":"主线阅读与优先实验","sha256":"42cba31deccba2a350b9b23bd0ca1dcaa4c4c5cb9d35c773e1fcb89124788ccd","chapter":{"id":"course","title":"实际训练与可复查的输出 · 实现代码"},"unit":{"id":"notebook-blocks/e4979dd3569c4ce4855112dd4b062c23","title":"实际训练与可复查的输出 · 实现代码"},"page":{"id":"reading-opening","title":"实际训练与可复查的输出 · 实现代码","number":1},"sectionTitle":"实际训练与可复查的输出 · 实现代码","currentQuestion":"实际训练与可复查的输出 · 实现代码","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":"b-e7cb59fa128fa870e74fb080","nextBlock":"b-549a307ac735e613bd1b7c79","prerequisites":[{"id":"b-e7cb59fa128fa870e74fb080","url":"#b-e7cb59fa128fa870e74fb080","role":"section-title"},{"id":"b-bdd2aa64edc48000f718728e","url":"#b-bdd2aa64edc48000f718728e","role":"problem-context"}],"relatedBlocks":[]},{"id":"b-549a307ac735e613bd1b7c79","type":"p","scope":"document","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/e4979dd3569c4ce4855112dd4b062c23.html#b-549a307ac735e613bd1b7c79","content":"RGB图像、单特征层锚框检测器、分类/位置损失、NMS、独立检测评价","sha256":"b1c765d7bf903321abd36e75bae49048d61faec2aa3fd11922b328c5970003b1","chapter":{"id":"course","title":"实际训练与可复查的输出 · 实现代码"},"unit":{"id":"notebook-blocks/e4979dd3569c4ce4855112dd4b062c23","title":"实际训练与可复查的输出 · 实现代码"},"page":{"id":"reading-opening","title":"实际训练与可复查的输出 · 实现代码","number":1},"sectionTitle":"实际训练与可复查的输出 · 实现代码","currentQuestion":"实际训练与可复查的输出 · 实现代码","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":"b-3a6a3166a0c5d7c1a1fdbd9c","nextBlock":"b-c650ce8bb85461ee3eb819bc","prerequisites":[{"id":"b-e7cb59fa128fa870e74fb080","url":"#b-e7cb59fa128fa870e74fb080","role":"section-title"},{"id":"b-bdd2aa64edc48000f718728e","url":"#b-bdd2aa64edc48000f718728e","role":"problem-context"}],"relatedBlocks":[]},{"id":"b-c650ce8bb85461ee3eb819bc","type":"pre","scope":"document","url":"https://codingai-lec03.pages.dev/course/notebook-blocks/e4979dd3569c4ce4855112dd4b062c23.html#b-c650ce8bb85461ee3eb819bc","content":"```\nimport subprocess,sys,json\nsubprocess.run([sys.executable,'lab10_detector.py','--out','lab10-results-rerun','--epochs','28'],check=True)\nR=json.loads(Path('lab10-results-rerun/run.json').read_text())\nfor setting in ['random_initialization','validation','heldout','condition_half_object_scale','condition_NMS_065']:\n    r=R[setting]\n    print(setting, 'mAP50=',round(r['AP50']['mAP'],4),'mAP75=',round(r['AP75']['mAP'],4),\n          'P@.4=',round(r['operating_point']['precision'],4),'R@.4=',round(r['operating_point']['recall'],4))\nprint(R['provenance'])\nfrom IPython.display import Image,display\nfor filename in ['heldout-predictions.png','failure-predictions.png','half-scale-predictions.png','training-curve.png']:\n    display(Image(filename='lab10-results-rerun/'+filename))\n```","sha256":"0a748c53d9a4c3bfaa27b3278192fb7b8f6dd8e500e31fe3d83843c1683cb0d6","chapter":{"id":"course","title":"实际训练与可复查的输出 · 实现代码"},"unit":{"id":"notebook-blocks/e4979dd3569c4ce4855112dd4b062c23","title":"实际训练与可复查的输出 · 实现代码"},"page":{"id":"reading-opening","title":"实际训练与可复查的输出 · 实现代码","number":1},"sectionTitle":"实际训练与可复查的输出 · 实现代码","currentQuestion":"实际训练与可复查的输出 · 实现代码","sourceSlides":[],"knowledgeBlock":null,"formulas":[],"previousBlock":"b-549a307ac735e613bd1b7c79","nextBlock":null,"prerequisites":[{"id":"b-e7cb59fa128fa870e74fb080","url":"#b-e7cb59fa128fa870e74fb080","role":"section-title"},{"id":"b-bdd2aa64edc48000f718728e","url":"#b-bdd2aa64edc48000f718728e","role":"problem-context"}],"relatedBlocks":[]}]}
