{"id":4325,"date":"2025-06-24T20:01:23","date_gmt":"2025-06-24T12:01:23","guid":{"rendered":"https:\/\/10ccc.cc\/?p=4325"},"modified":"2026-01-05T10:23:45","modified_gmt":"2026-01-05T02:23:45","slug":"%e5%88%86%e4%ba%ab%e4%b8%80%e4%ba%9b%e8%be%83%e6%9c%89%e4%bb%b7%e5%80%bc%e7%9a%84jupyter-notebook","status":"publish","type":"post","link":"https:\/\/10ccc.cc\/?p=4325","title":{"rendered":"\u5206\u4eab\u4e00\u4e9b\u8f83\u6709\u610f\u601d\u7684jupyter notebook"},"content":{"rendered":"<blockquote><p>\u6700\u8fd1\u5728\u6574\u7406\u6587\u4ef6\uff0c\u53d1\u73b0\u4e00\u4e9b\u6bd4\u8f83\u6709\u4ef7\u503c(\u6709\u76f8\u5f53\u5927\u7684\u81ea\u6211\u611f\u52a8\u7684\u6210\u5206)\u7684\u7b14\u8bb0\u6587\u4ef6\uff0c \u9042\u5728\u6b64\u5206\u4eab\uff0c\u4ee5\u4f9b\u53c2\u8003<\/p><\/blockquote>\n<h1>YOLO FINETUNE<\/h1>\n<a class=\"download\" href=\"https:\/\/10ccc.cc\/wp-content\/uploads\/2026\/01\/1767545475-YOLO_FINETUNE_NOTEBOOK.ipynb\" rel=\"external\"\r\ntarget=\"_blank\" title=\"\u4e0b\u8f7d\u5730\u5740\">\r\n<span><i class=\"fa-solid fa-download\"><\/i>Download<\/span><\/a>\n<div class=\"jupyter-notebook-wrapper\">\n            <button class=\"jupyter-toggle-btn\">\u5c55\u5f00<\/button>\n            <iframe id=\"YOLO_FINETUNE_NOTEBOOK\" style=\"border: 1px lightgrey solid; height: 300px;\" src=\"https:\/\/10ccc.cc\/wp-content\/uploads\/jupyter-notebooks\/YOLO_FINETUNE_NOTEBOOK.html\" width=\"100%\" frameborder=\"0\" scrolling=\"no\"><\/iframe>\n            <button class=\"jupyter-toggle-btn1\">\u5c55\u5f00<\/button>\n         <\/div><script>\n        (function(){\n            var iframe = document.getElementById(\"YOLO_FINETUNE_NOTEBOOK\");\n            var wrapper = iframe.parentElement;\n            var toggleBtn = wrapper.querySelector(\".jupyter-toggle-btn\");\n            var toggleBtn1 = wrapper.querySelector(\".jupyter-toggle-btn1\");\n            var isExpanded = false;\n            var fullHeight = 0;\n            \n            function getFullHeight() {\n                return iframe.contentWindow.document.body.scrollHeight + 4;\n            }\n            \n            function toggleHeight() {\n                if (isExpanded) {\n                    iframe.style.height = \"300px\";\n                    toggleBtn.textContent = \"\u5c55\u5f00\";\n                    toggleBtn1.textContent = \"\u5c55\u5f00\";\n                } else {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                    toggleBtn.textContent = \"\u6536\u56de\";\n                    toggleBtn1.textContent = \"\u6536\u56de\";\n                }\n                isExpanded = !isExpanded;\n            }\n            \n            toggleBtn.addEventListener(\"click\", toggleHeight);\n\n\n            function toggleHeight1() {\n                if (isExpanded) {\n                    iframe.style.height = \"300px\";\n                    toggleBtn1.textContent = \"\u5c55\u5f00\";\n                    toggleBtn.textContent = \"\u5c55\u5f00\";\n                } else {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                    toggleBtn1.textContent = \"\u6536\u56de\";\n                    toggleBtn.textContent = \"\u6536\u56de\";\n                }\n                isExpanded = !isExpanded;\n            }\n            \n            toggleBtn1.addEventListener(\"click\", toggleHeight1);\n\n            \/\/ \u9875\u9762\u5927\u5c0f\u6539\u53d8\u65f6\u91cd\u65b0\u8ba1\u7b97\n            window.addEventListener(\"resize\", function() {\n                if (isExpanded) {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                }\n            });\n            \n            \/\/ iframe\u52a0\u8f7d\u5b8c\u6210\u540e\u521d\u59cb\u5316\n            iframe.addEventListener(\"load\", function() {\n                fullHeight = getFullHeight();\n            });\n        })();\n        <\/script>\n<p>&nbsp;<\/p>\n<h1>Prompt Engineering<\/h1>\n<a class=\"download\" href=\"https:\/\/10ccc.cc\/wp-content\/uploads\/2025\/08\/1754901666-prompt_engineering.ipynb\" rel=\"external\"\r\ntarget=\"_blank\" title=\"\u4e0b\u8f7d\u5730\u5740\">\r\n<span><i class=\"fa-solid fa-download\"><\/i>Download<\/span><\/a>\n<div class=\"jupyter-notebook-wrapper\">\n            <button class=\"jupyter-toggle-btn\">\u5c55\u5f00<\/button>\n            <iframe id=\"prompt_engineering_latest\" style=\"border: 1px lightgrey solid; height: 300px;\" src=\"https:\/\/10ccc.cc\/wp-content\/uploads\/jupyter-notebooks\/prompt_engineering_latest.html\" width=\"100%\" frameborder=\"0\" scrolling=\"no\"><\/iframe>\n            <button class=\"jupyter-toggle-btn1\">\u5c55\u5f00<\/button>\n         <\/div><script>\n        (function(){\n            var iframe = document.getElementById(\"prompt_engineering_latest\");\n            var wrapper = iframe.parentElement;\n            var toggleBtn = wrapper.querySelector(\".jupyter-toggle-btn\");\n            var toggleBtn1 = wrapper.querySelector(\".jupyter-toggle-btn1\");\n            var isExpanded = false;\n            var fullHeight = 0;\n            \n            function getFullHeight() {\n                return iframe.contentWindow.document.body.scrollHeight + 4;\n            }\n            \n            function toggleHeight() {\n                if (isExpanded) {\n                    iframe.style.height = \"300px\";\n                    toggleBtn.textContent = \"\u5c55\u5f00\";\n                    toggleBtn1.textContent = \"\u5c55\u5f00\";\n                } else {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                    toggleBtn.textContent = \"\u6536\u56de\";\n                    toggleBtn1.textContent = \"\u6536\u56de\";\n                }\n                isExpanded = !isExpanded;\n            }\n            \n            toggleBtn.addEventListener(\"click\", toggleHeight);\n\n\n            function toggleHeight1() {\n                if (isExpanded) {\n                    iframe.style.height = \"300px\";\n                    toggleBtn1.textContent = \"\u5c55\u5f00\";\n                    toggleBtn.textContent = \"\u5c55\u5f00\";\n                } else {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                    toggleBtn1.textContent = \"\u6536\u56de\";\n                    toggleBtn.textContent = \"\u6536\u56de\";\n                }\n                isExpanded = !isExpanded;\n            }\n            \n            toggleBtn1.addEventListener(\"click\", toggleHeight1);\n\n            \/\/ \u9875\u9762\u5927\u5c0f\u6539\u53d8\u65f6\u91cd\u65b0\u8ba1\u7b97\n            window.addEventListener(\"resize\", function() {\n                if (isExpanded) {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                }\n            });\n            \n            \/\/ iframe\u52a0\u8f7d\u5b8c\u6210\u540e\u521d\u59cb\u5316\n            iframe.addEventListener(\"load\", function() {\n                fullHeight = getFullHeight();\n            });\n        })();\n        <\/script>\n<p>&nbsp;<\/p>\n<h1>BarnsleyFern\u8568\u7c7b\u5206\u5f62<\/h1>\n<p><iframe src=\"\/\/player.bilibili.com\/player.html?isOutside=true&amp;aid=114738222600259&amp;bvid=BV1muKVzLE34&amp;cid=30675504714&amp;p=1\" frameborder=\"no\" scrolling=\"no\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n<a class=\"download\" href=\"https:\/\/10ccc.cc\/wp-content\/uploads\/2025\/06\/1750764847-BarnsleyFern\u8568\u7c7b\u5206\u5f62.ipynb\" rel=\"external\"\r\ntarget=\"_blank\" title=\"\u4e0b\u8f7d\u5730\u5740\">\r\n<span><i class=\"fa-solid fa-download\"><\/i>Download<\/span><\/a>\n<div class=\"jupyter-notebook-wrapper\">\n            <button class=\"jupyter-toggle-btn\">\u5c55\u5f00<\/button>\n            <iframe id=\"BarnsleyFern\u8568\u7c7b\u5206\u5f62\" style=\"border: 1px lightgrey solid; height: 300px;\" src=\"https:\/\/10ccc.cc\/wp-content\/uploads\/jupyter-notebooks\/BarnsleyFern\u8568\u7c7b\u5206\u5f62.html\" width=\"100%\" frameborder=\"0\" scrolling=\"no\"><\/iframe>\n            <button class=\"jupyter-toggle-btn1\">\u5c55\u5f00<\/button>\n         <\/div><script>\n        (function(){\n            var iframe = document.getElementById(\"BarnsleyFern\u8568\u7c7b\u5206\u5f62\");\n            var wrapper = iframe.parentElement;\n            var toggleBtn = wrapper.querySelector(\".jupyter-toggle-btn\");\n            var toggleBtn1 = wrapper.querySelector(\".jupyter-toggle-btn1\");\n            var isExpanded = false;\n            var fullHeight = 0;\n            \n            function getFullHeight() {\n                return iframe.contentWindow.document.body.scrollHeight + 4;\n            }\n            \n            function toggleHeight() {\n                if (isExpanded) {\n                    iframe.style.height = \"300px\";\n                    toggleBtn.textContent = \"\u5c55\u5f00\";\n                    toggleBtn1.textContent = \"\u5c55\u5f00\";\n                } else {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                    toggleBtn.textContent = \"\u6536\u56de\";\n                    toggleBtn1.textContent = \"\u6536\u56de\";\n                }\n                isExpanded = !isExpanded;\n            }\n            \n            toggleBtn.addEventListener(\"click\", toggleHeight);\n\n\n            function toggleHeight1() {\n                if (isExpanded) {\n                    iframe.style.height = \"300px\";\n                    toggleBtn1.textContent = \"\u5c55\u5f00\";\n                    toggleBtn.textContent = \"\u5c55\u5f00\";\n                } else {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                    toggleBtn1.textContent = \"\u6536\u56de\";\n                    toggleBtn.textContent = \"\u6536\u56de\";\n                }\n                isExpanded = !isExpanded;\n            }\n            \n            toggleBtn1.addEventListener(\"click\", toggleHeight1);\n\n            \/\/ \u9875\u9762\u5927\u5c0f\u6539\u53d8\u65f6\u91cd\u65b0\u8ba1\u7b97\n            window.addEventListener(\"resize\", function() {\n                if (isExpanded) {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                }\n            });\n            \n            \/\/ iframe\u52a0\u8f7d\u5b8c\u6210\u540e\u521d\u59cb\u5316\n            iframe.addEventListener(\"load\", function() {\n                fullHeight = getFullHeight();\n            });\n        })();\n        <\/script>\n<p>&nbsp;<\/p>\n<h1>R1 \u6a21\u578b\u601d\u7ef4\u94fe\u5fae\u8c03<\/h1>\n<p><a class=\"download\" href=\"https:\/\/10ccc.cc\/wp-content\/uploads\/2025\/03\/1743235982-Unsloth_Finetuning_DeepSeek_R1_on_your_PC-with_Nvidia_GPU.html.ipynb\" rel=\"external\"\r\ntarget=\"_blank\" title=\"\u4e0b\u8f7d\u5730\u5740\">\r\n<span><i class=\"fa-solid fa-download\"><\/i>Download<\/span><\/a><br \/>\n<div class=\"jupyter-notebook-wrapper\">\n            <button class=\"jupyter-toggle-btn\">\u5c55\u5f00<\/button>\n            <iframe id=\"Unsloth_Finetuning_DeepSeek_R1_on_your_PC with_Nvidia_GPU\" style=\"border: 1px lightgrey solid; height: 300px;\" src=\"https:\/\/10ccc.cc\/wp-content\/uploads\/jupyter-notebooks\/Unsloth_Finetuning_DeepSeek_R1_on_your_PC%20with_Nvidia_GPU.html\" width=\"100%\" frameborder=\"0\" scrolling=\"no\"><\/iframe>\n            <button class=\"jupyter-toggle-btn1\">\u5c55\u5f00<\/button>\n         <\/div><script>\n        (function(){\n            var iframe = document.getElementById(\"Unsloth_Finetuning_DeepSeek_R1_on_your_PC with_Nvidia_GPU\");\n            var wrapper = iframe.parentElement;\n            var toggleBtn = wrapper.querySelector(\".jupyter-toggle-btn\");\n            var toggleBtn1 = wrapper.querySelector(\".jupyter-toggle-btn1\");\n            var isExpanded = false;\n            var fullHeight = 0;\n            \n            function getFullHeight() {\n                return iframe.contentWindow.document.body.scrollHeight + 4;\n            }\n            \n            function toggleHeight() {\n                if (isExpanded) {\n                    iframe.style.height = \"300px\";\n                    toggleBtn.textContent = \"\u5c55\u5f00\";\n                    toggleBtn1.textContent = \"\u5c55\u5f00\";\n                } else {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                    toggleBtn.textContent = \"\u6536\u56de\";\n                    toggleBtn1.textContent = \"\u6536\u56de\";\n                }\n                isExpanded = !isExpanded;\n            }\n            \n            toggleBtn.addEventListener(\"click\", toggleHeight);\n\n\n            function toggleHeight1() {\n                if (isExpanded) {\n                    iframe.style.height = \"300px\";\n                    toggleBtn1.textContent = \"\u5c55\u5f00\";\n                    toggleBtn.textContent = \"\u5c55\u5f00\";\n                } else {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                    toggleBtn1.textContent = \"\u6536\u56de\";\n                    toggleBtn.textContent = \"\u6536\u56de\";\n                }\n                isExpanded = !isExpanded;\n            }\n            \n            toggleBtn1.addEventListener(\"click\", toggleHeight1);\n\n            \/\/ \u9875\u9762\u5927\u5c0f\u6539\u53d8\u65f6\u91cd\u65b0\u8ba1\u7b97\n            window.addEventListener(\"resize\", function() {\n                if (isExpanded) {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                }\n            });\n            \n            \/\/ iframe\u52a0\u8f7d\u5b8c\u6210\u540e\u521d\u59cb\u5316\n            iframe.addEventListener(\"load\", function() {\n                fullHeight = getFullHeight();\n            });\n        })();\n        <\/script><\/p>\n<h1>\u8ba1\u7b97\u673a\u89c6\u89c9 CNN \u57fa\u7840<\/h1>\n<p><a class=\"download\" href=\"https:\/\/10ccc.cc\/wp-content\/uploads\/2025\/06\/1750765580-03_pytorch_computer_vision_CNN_fundamentals.ipynb\" rel=\"external\"\r\ntarget=\"_blank\" title=\"\u4e0b\u8f7d\u5730\u5740\">\r\n<span><i class=\"fa-solid fa-download\"><\/i>Download<\/span><\/a><br \/>\n<div class=\"jupyter-notebook-wrapper\">\n            <button class=\"jupyter-toggle-btn\">\u5c55\u5f00<\/button>\n            <iframe id=\"03_pytorch_computer_vision_CNN_fundamentals\" style=\"border: 1px lightgrey solid; height: 300px;\" src=\"https:\/\/10ccc.cc\/wp-content\/uploads\/jupyter-notebooks\/03_pytorch_computer_vision_CNN_fundamentals.html\" width=\"100%\" frameborder=\"0\" scrolling=\"no\"><\/iframe>\n            <button class=\"jupyter-toggle-btn1\">\u5c55\u5f00<\/button>\n         <\/div><script>\n        (function(){\n            var iframe = document.getElementById(\"03_pytorch_computer_vision_CNN_fundamentals\");\n            var wrapper = iframe.parentElement;\n            var toggleBtn = wrapper.querySelector(\".jupyter-toggle-btn\");\n            var toggleBtn1 = wrapper.querySelector(\".jupyter-toggle-btn1\");\n            var isExpanded = false;\n            var fullHeight = 0;\n            \n            function getFullHeight() {\n                return iframe.contentWindow.document.body.scrollHeight + 4;\n            }\n            \n            function toggleHeight() {\n                if (isExpanded) {\n                    iframe.style.height = \"300px\";\n                    toggleBtn.textContent = \"\u5c55\u5f00\";\n                    toggleBtn1.textContent = \"\u5c55\u5f00\";\n                } else {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                    toggleBtn.textContent = \"\u6536\u56de\";\n                    toggleBtn1.textContent = \"\u6536\u56de\";\n                }\n                isExpanded = !isExpanded;\n            }\n            \n            toggleBtn.addEventListener(\"click\", toggleHeight);\n\n\n            function toggleHeight1() {\n                if (isExpanded) {\n                    iframe.style.height = \"300px\";\n                    toggleBtn1.textContent = \"\u5c55\u5f00\";\n                    toggleBtn.textContent = \"\u5c55\u5f00\";\n                } else {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                    toggleBtn1.textContent = \"\u6536\u56de\";\n                    toggleBtn.textContent = \"\u6536\u56de\";\n                }\n                isExpanded = !isExpanded;\n            }\n            \n            toggleBtn1.addEventListener(\"click\", toggleHeight1);\n\n            \/\/ \u9875\u9762\u5927\u5c0f\u6539\u53d8\u65f6\u91cd\u65b0\u8ba1\u7b97\n            window.addEventListener(\"resize\", function() {\n                if (isExpanded) {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                }\n            });\n            \n            \/\/ iframe\u52a0\u8f7d\u5b8c\u6210\u540e\u521d\u59cb\u5316\n            iframe.addEventListener(\"load\", function() {\n                fullHeight = getFullHeight();\n            });\n        })();\n        <\/script><\/p>\n<h1>\u795e\u7ecf\u7f51\u7edcClassification\u57fa\u7840<\/h1>\n<p><a class=\"download\" href=\"https:\/\/10ccc.cc\/wp-content\/uploads\/2025\/06\/1750765562-02_PyTorch_Neural_Network_Classification-2.ipynb\" rel=\"external\"\r\ntarget=\"_blank\" title=\"\u4e0b\u8f7d\u5730\u5740\">\r\n<span><i class=\"fa-solid fa-download\"><\/i>Download<\/span><\/a><br \/>\n<div class=\"jupyter-notebook-wrapper\">\n            <button class=\"jupyter-toggle-btn\">\u5c55\u5f00<\/button>\n            <iframe id=\"02_PyTorch_Neural_Network_Classification\" style=\"border: 1px lightgrey solid; height: 300px;\" src=\"https:\/\/10ccc.cc\/wp-content\/uploads\/jupyter-notebooks\/02_PyTorch_Neural_Network_Classification.html\" width=\"100%\" frameborder=\"0\" scrolling=\"no\"><\/iframe>\n            <button class=\"jupyter-toggle-btn1\">\u5c55\u5f00<\/button>\n         <\/div><script>\n        (function(){\n            var iframe = document.getElementById(\"02_PyTorch_Neural_Network_Classification\");\n            var wrapper = iframe.parentElement;\n            var toggleBtn = wrapper.querySelector(\".jupyter-toggle-btn\");\n            var toggleBtn1 = wrapper.querySelector(\".jupyter-toggle-btn1\");\n            var isExpanded = false;\n            var fullHeight = 0;\n            \n            function getFullHeight() {\n                return iframe.contentWindow.document.body.scrollHeight + 4;\n            }\n            \n            function toggleHeight() {\n                if (isExpanded) {\n                    iframe.style.height = \"300px\";\n                    toggleBtn.textContent = \"\u5c55\u5f00\";\n                    toggleBtn1.textContent = \"\u5c55\u5f00\";\n                } else {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                    toggleBtn.textContent = \"\u6536\u56de\";\n                    toggleBtn1.textContent = \"\u6536\u56de\";\n                }\n                isExpanded = !isExpanded;\n            }\n            \n            toggleBtn.addEventListener(\"click\", toggleHeight);\n\n\n            function toggleHeight1() {\n                if (isExpanded) {\n                    iframe.style.height = \"300px\";\n                    toggleBtn1.textContent = \"\u5c55\u5f00\";\n                    toggleBtn.textContent = \"\u5c55\u5f00\";\n                } else {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                    toggleBtn1.textContent = \"\u6536\u56de\";\n                    toggleBtn.textContent = \"\u6536\u56de\";\n                }\n                isExpanded = !isExpanded;\n            }\n            \n            toggleBtn1.addEventListener(\"click\", toggleHeight1);\n\n            \/\/ \u9875\u9762\u5927\u5c0f\u6539\u53d8\u65f6\u91cd\u65b0\u8ba1\u7b97\n            window.addEventListener(\"resize\", function() {\n                if (isExpanded) {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                }\n            });\n            \n            \/\/ iframe\u52a0\u8f7d\u5b8c\u6210\u540e\u521d\u59cb\u5316\n            iframe.addEventListener(\"load\", function() {\n                fullHeight = getFullHeight();\n            });\n        })();\n        <\/script><\/p>\n<h1>PyTorch_\u57fa\u672c\u8bad\u7ec3\u6d41\u7a0b\u57fa\u7840<\/h1>\n<p><a class=\"download\" href=\"https:\/\/10ccc.cc\/wp-content\/uploads\/2025\/06\/1750765844-01_PyTorch_Workflow_Fundamentals_video.ipynb\" rel=\"external\"\r\ntarget=\"_blank\" title=\"\u4e0b\u8f7d\u5730\u5740\">\r\n<span><i class=\"fa-solid fa-download\"><\/i>Download<\/span><\/a><br \/>\n<div class=\"jupyter-notebook-wrapper\">\n            <button class=\"jupyter-toggle-btn\">\u5c55\u5f00<\/button>\n            <iframe id=\"01_PyTorch_Workflow_Fundamentals_videokk\" style=\"border: 1px lightgrey solid; height: 300px;\" src=\"https:\/\/10ccc.cc\/wp-content\/uploads\/jupyter-notebooks\/01_PyTorch_Workflow_Fundamentals_videokk.html\" width=\"100%\" frameborder=\"0\" scrolling=\"no\"><\/iframe>\n            <button class=\"jupyter-toggle-btn1\">\u5c55\u5f00<\/button>\n         <\/div><script>\n        (function(){\n            var iframe = document.getElementById(\"01_PyTorch_Workflow_Fundamentals_videokk\");\n            var wrapper = iframe.parentElement;\n            var toggleBtn = wrapper.querySelector(\".jupyter-toggle-btn\");\n            var toggleBtn1 = wrapper.querySelector(\".jupyter-toggle-btn1\");\n            var isExpanded = false;\n            var fullHeight = 0;\n            \n            function getFullHeight() {\n                return iframe.contentWindow.document.body.scrollHeight + 4;\n            }\n            \n            function toggleHeight() {\n                if (isExpanded) {\n                    iframe.style.height = \"300px\";\n                    toggleBtn.textContent = \"\u5c55\u5f00\";\n                    toggleBtn1.textContent = \"\u5c55\u5f00\";\n                } else {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                    toggleBtn.textContent = \"\u6536\u56de\";\n                    toggleBtn1.textContent = \"\u6536\u56de\";\n                }\n                isExpanded = !isExpanded;\n            }\n            \n            toggleBtn.addEventListener(\"click\", toggleHeight);\n\n\n            function toggleHeight1() {\n                if (isExpanded) {\n                    iframe.style.height = \"300px\";\n                    toggleBtn1.textContent = \"\u5c55\u5f00\";\n                    toggleBtn.textContent = \"\u5c55\u5f00\";\n                } else {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                    toggleBtn1.textContent = \"\u6536\u56de\";\n                    toggleBtn.textContent = \"\u6536\u56de\";\n                }\n                isExpanded = !isExpanded;\n            }\n            \n            toggleBtn1.addEventListener(\"click\", toggleHeight1);\n\n            \/\/ \u9875\u9762\u5927\u5c0f\u6539\u53d8\u65f6\u91cd\u65b0\u8ba1\u7b97\n            window.addEventListener(\"resize\", function() {\n                if (isExpanded) {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                }\n            });\n            \n            \/\/ iframe\u52a0\u8f7d\u5b8c\u6210\u540e\u521d\u59cb\u5316\n            iframe.addEventListener(\"load\", function() {\n                fullHeight = getFullHeight();\n            });\n        })();\n        <\/script><\/p>\n<h1>Pytorch\u57fa\u7840<\/h1>\n<p><a class=\"download\" href=\"https:\/\/10ccc.cc\/wp-content\/uploads\/2025\/06\/1750765385-00_pytorch_fundamental_video.ipynb\" rel=\"external\"\r\ntarget=\"_blank\" title=\"\u4e0b\u8f7d\u5730\u5740\">\r\n<span><i class=\"fa-solid fa-download\"><\/i>Download<\/span><\/a><br \/>\n<div class=\"jupyter-notebook-wrapper\">\n            <button class=\"jupyter-toggle-btn\">\u5c55\u5f00<\/button>\n            <iframe id=\"00_pytorch_fundamental_video\" style=\"border: 1px lightgrey solid; height: 300px;\" src=\"https:\/\/10ccc.cc\/wp-content\/uploads\/jupyter-notebooks\/00_pytorch_fundamental_video.html\" width=\"100%\" frameborder=\"0\" scrolling=\"no\"><\/iframe>\n            <button class=\"jupyter-toggle-btn1\">\u5c55\u5f00<\/button>\n         <\/div><script>\n        (function(){\n            var iframe = document.getElementById(\"00_pytorch_fundamental_video\");\n            var wrapper = iframe.parentElement;\n            var toggleBtn = wrapper.querySelector(\".jupyter-toggle-btn\");\n            var toggleBtn1 = wrapper.querySelector(\".jupyter-toggle-btn1\");\n            var isExpanded = false;\n            var fullHeight = 0;\n            \n            function getFullHeight() {\n                return iframe.contentWindow.document.body.scrollHeight + 4;\n            }\n            \n            function toggleHeight() {\n                if (isExpanded) {\n                    iframe.style.height = \"300px\";\n                    toggleBtn.textContent = \"\u5c55\u5f00\";\n                    toggleBtn1.textContent = \"\u5c55\u5f00\";\n                } else {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                    toggleBtn.textContent = \"\u6536\u56de\";\n                    toggleBtn1.textContent = \"\u6536\u56de\";\n                }\n                isExpanded = !isExpanded;\n            }\n            \n            toggleBtn.addEventListener(\"click\", toggleHeight);\n\n\n            function toggleHeight1() {\n                if (isExpanded) {\n                    iframe.style.height = \"300px\";\n                    toggleBtn1.textContent = \"\u5c55\u5f00\";\n                    toggleBtn.textContent = \"\u5c55\u5f00\";\n                } else {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                    toggleBtn1.textContent = \"\u6536\u56de\";\n                    toggleBtn.textContent = \"\u6536\u56de\";\n                }\n                isExpanded = !isExpanded;\n            }\n            \n            toggleBtn1.addEventListener(\"click\", toggleHeight1);\n\n            \/\/ \u9875\u9762\u5927\u5c0f\u6539\u53d8\u65f6\u91cd\u65b0\u8ba1\u7b97\n            window.addEventListener(\"resize\", function() {\n                if (isExpanded) {\n                    fullHeight = getFullHeight();\n                    iframe.style.height = fullHeight + \"px\";\n                }\n            });\n            \n            \/\/ iframe\u52a0\u8f7d\u5b8c\u6210\u540e\u521d\u59cb\u5316\n            iframe.addEventListener(\"load\", function() {\n                fullHeight = getFullHeight();\n            });\n        })();\n        <\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd1\u5728\u6574\u7406\u6587\u4ef6\uff0c\u53d1\u73b0\u4e00\u4e9b\u6bd4\u8f83\u6709\u4ef7\u503c(\u6709\u76f8\u5f53\u5927\u7684\u81ea\u6211\u611f\u52a8\u7684\u6210\u5206)\u7684\u7b14\u8bb0\u6587\u4ef6\uff0c \u9042\u5728\u6b64\u5206\u4eab\uff0c\u4ee5\u4f9b\u53c2\u8003 YOLO FINETUNE &#038;n &#8230;<\/p>\n","protected":false},"author":1,"featured_media":4367,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[123,104],"tags":[81,154,160,155,152,161,159,156,153,108,107],"class_list":["post-4325","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-python","category-note","tag-ai","tag-barnsley","tag-context-engineering","tag-fern","tag-notebook","tag-prompt","tag-prompt-engineering","tag-prompt_engineering","tag-153","tag-108","tag-107"],"_links":{"self":[{"href":"https:\/\/10ccc.cc\/index.php?rest_route=\/wp\/v2\/posts\/4325","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/10ccc.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/10ccc.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/10ccc.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/10ccc.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4325"}],"version-history":[{"count":11,"href":"https:\/\/10ccc.cc\/index.php?rest_route=\/wp\/v2\/posts\/4325\/revisions"}],"predecessor-version":[{"id":4733,"href":"https:\/\/10ccc.cc\/index.php?rest_route=\/wp\/v2\/posts\/4325\/revisions\/4733"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/10ccc.cc\/index.php?rest_route=\/wp\/v2\/media\/4367"}],"wp:attachment":[{"href":"https:\/\/10ccc.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/10ccc.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4325"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/10ccc.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}