Repository navigation
Expand file tree
/
Copy pathch09.html
More file actions
479 lines (421 loc) · 21.8 KB
/
Copy pathch09.html
File metadata and controls
479 lines (421 loc) · 21.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="第九章:卷积神经网络(CNN) - AI学习笔记">
<meta name="keywords" content="AI, 人工智能, 机器学习, 深度学习">
<meta name="author" content="AI Learner">
<title>第九章:卷积神经网络(CNN) - AI学习笔记</title>
<!-- Google Fonts - Inter -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<!-- Font Awesome Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<!-- KaTeX - 轻量级数学公式渲染 -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css">
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/contrib/auto-render.min.js"
onload="renderMathInElement(document.body, {
delimiters: [
{left: '$$', right: '$$', display: true},
{left: '\\[', right: '\\]', display: true},
{left: '\\(', right: '\\)', display: false},
{left: '$', right: '$', display: false}
],
throwOnError: false
});"></script>
<!-- Prism.js 代码高亮 - tomorrow-night 主题 -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism-tomorrow.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-python.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-bash.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/copy-to-clipboard/prism-copy-to-clipboard.min.js"></script>
<!-- 自定义样式表 -->
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/dark-mode.css">
<link rel="stylesheet" href="../../css/mobile-optimizations.css">
<!-- 内联CSS样式 -->
<!-- AI-Notes共享样式 -->
<link rel="stylesheet" href="assets/ai-notes.css">
</head>
<body>
<!-- ==================== 导航栏 ==================== -->
<nav class="ai-nav">
<a href="../../index.html" class="ai-nav-brand">
<i class="fas fa-brain"></i>
AI学习笔记
</a>
<ul class="ai-nav-links" id="navLinks">
<li><a href="index.html"><i class="fas fa-home"></i> 首页</a></li>
<li><a href="ch06.html"><i class="fas fa-box"></i> 模型</a></li>
<li><a href="ch07.html"><i class="fas fa-dumbbell"></i> 训练</a></li>
<li><a href="ch08.html"><i class="fas fa-chart-bar"></i> 评估调优</a></li>
<li><a href="ch09.html"><i class="fas fa-th"></i> CNN</a></li>
<li><a href="ch10.html"><i class="fas fa-random"></i> Transformer</a></li>
<li><a href="ch11.html"><i class="fas fa-language"></i> LLM</a></li>
<li><a href="ch12.html"><i class="fas fa-rocket"></i> 推理部署</a></li>
<li><a href="ch13.html"><i class="fas fa-search"></i> RAG</a></li>
<li><a href="ch14.html"><i class="fas fa-arrows-alt"></i> 向量Embedding</a></li>
</ul>
<button class="ai-nav-toggle" id="navToggle" aria-label="切换导航">
<i class="fas fa-bars"></i>
</button>
</nav>
<!-- ==================== 章节导航 ==================== -->
<nav class="ai-chapter-nav" style="background: #f7fafc; border-bottom: 1px solid #e2e8f0; padding: 1rem 2rem; margin-top: 64px;">
<div style="max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center;">
<div class="breadcrumb" style="font-size: 0.9rem; color: #718096;">
<a href="../../index.html" style="color: #4299e1;"><i class="fas fa-home"></i> 首页</a>
<span style="margin: 0 0.5rem;">/</span>
<a href="index.html" style="color: #4299e1;">AI学习笔记</a>
<span style="margin: 0 0.5rem;">/</span>
<span style="color: #2d3748; font-weight: 600;">第九章:卷积神经网络(CNN)</span>
</div>
<div class="chapter-links" style="display: flex; gap: 1rem;">
<a href="ch08.html" class="prev-chapter" style="color: #4299e1; font-size: 0.9rem;"><i class="fas fa-arrow-left"></i> 上一章</a>
<a href="ch10.html" class="next-chapter" style="color: #4299e1; font-size: 0.9rem;">下一章 <i class="fas fa-arrow-right"></i></a>
</div>
</div>
</nav>
<!-- ==================== 主内容区域 ==================== -->
<div class="content-wrapper">
<!-- ========== 主内容 ========== -->
<main class="main-content">
<!-- 第九章:卷积神经网络(CNN) -->
<!-- ============================================================ -->
<h2 id="sec1" class="ai-section-title"><i class="fas fa-th"></i> 第九章:卷积神经网络(CNN)</h2>
<div class="ai-box ai-box--objectives">
<h3 id="sub1-1"><i class="fas fa-bullseye"></i> 学习目标</h3>
<ul>
<li>理解CNN的定义及其为什么适合处理图像</li>
<li>掌握卷积操作的原理和特征提取的层次性</li>
<li>理解池化层和全连接层的作用</li>
<li>了解经典CNN架构(AlexNet、VGG、ResNet等)</li>
<li>能够使用PyTorch构建简单的CNN模型</li>
</ul>
</div>
<div class="ai-box ai-box--prereq">
<h3 id="sub1-2"><i class="fas fa-book"></i> 前置要求</h3>
<p>第五章:深度学习概述(理解神经网络的基本结构和激活函数)。</p>
</div>
<figure class="ai-figure">
<img src="https://trae-api-cn.mchost.guru/api/ide/v1/text_to_image?prompt=CNN%20convolutional%20neural%20network%20architecture%20convolution%20pooling%20layers%20feature%20extraction%2C%20clean%20educational%20infographic%20style%2C%20flat%20design%2C%20white%20background&image_size=landscape_4_3" alt="CNN卷积神经网络架构概念图" loading="lazy">
<figcaption><strong>图9-1</strong> CNN卷积神经网络架构:卷积层、池化层与特征提取流程</figcaption>
</figure>
<div class="concept-section">
<h2 id="sec2"><i class="fas fa-image"></i> CNN概述</h2>
<p><span class="keyword-highlight">CNN(Convolutional Neural Network,卷积神经网络)</span>专门处理图像数据,能自动识别图像中的特征。它是图像识别、目标检测、人脸识别等视觉任务的核心技术。</p>
<div class="concept-box success">
<h4><i class="fas fa-lightbulb"></i> 为什么CNN适合处理图像?</h4>
<p>图像是由像素组成的网格,相邻像素之间有关系(比如边缘是一条连续的线)。CNN能<strong>保留空间关系</strong>,不像传统方法把图像变成一串数字。它用"小窗口"扫描图像,就像人用眼睛逐区域观察一样。</p>
</div>
<h3 id="sub2-3">CNN核心组件详解</h3>
<h4>1. 卷积层——特征提取的核心</h4>
<p><span class="keyword-highlight">卷积层</span>是CNN最重要的部分。它使用<span class="keyword-highlight">滤波器(Filter/Kernel)</span>在图像上滑动扫描,提取各种特征。</p>
<div class="concept-box">
<h4><i class="fas fa-search"></i> 滤波器是什么?</h4>
<p>滤波器是一个小矩阵(比如3×3),里面放着不同的数字权重。<br/>
• <strong>边缘滤波器</strong>:能检测图像中的线条和边缘<br/>
• <strong>纹理滤波器</strong>:能识别特定的纹理模式<br/>
• <strong>颜色滤波器</strong>:能检测特定的颜色分布<br/><br/>
一个卷积层可能有几十到几百个不同的滤波器,每个学习识别一种特征。</p>
</div>
<h4>卷积操作的原理</h4>
<p>想象你有一个小窗口(3×3像素),在图像上从左到右、从上到下滑动:</p>
<ol>
<li><strong>定位</strong>:窗口放在图像的某个位置</li>
<li><strong>计算</strong>:窗口内的像素值与滤波器权重相乘,然后求和</li>
<li><strong>输出</strong>:得到一个新的数值(特征值)</li>
<li><strong>移动</strong>:窗口向右移动一格,重复上述过程</li>
<li><strong>完成</strong>:扫描完整个图像,生成一张"特征图"</li>
</ol>
<div class="flow-diagram">
<div class="flow-item">输入图像<br/>(224×224像素)</div>
<span class="flow-arrow">→</span>
<div class="flow-item">卷积层<br/>(多个滤波器扫描)</div>
<span class="flow-arrow">→</span>
<div class="flow-item">特征图<br/>(每张对应一种特征)</div>
</div>
<h4>卷积操作的Python/NumPy代码示例</h4>
<pre><code class="language-python">import numpy as np
# 简单的5x5输入图像(灰度)
image = np.array([
[10, 10, 10, 0, 0],
[10, 10, 10, 0, 0],
[10, 10, 10, 0, 0],
[ 0, 0, 0, 10, 10],
[ 0, 0, 0, 10, 10]
], dtype=float)
# 3x3边缘检测滤波器(水平边缘)
kernel = np.array([
[-1, -1, -1],
[ 0, 0, 0],
[ 1, 1, 1]
], dtype=float)
# 手动实现2D卷积
def conv2d(image, kernel):
ih, iw = image.shape
kh, kw = kernel.shape
oh, ow = ih - kh + 1, iw - kw + 1
output = np.zeros((oh, ow))
for i in range(oh):
for j in range(ow):
region = image[i:i+kh, j:j+kw]
output[i, j] = np.sum(region * kernel)
return output
result = conv2d(image, kernel)
print("卷积结果(特征图):")
print(result)
# 输出: 检测到水平边缘的位置会有较大数值</code></pre>
<h4>特征提取的层次性</h4>
<table class="comparison-table">
<tr>
<th>层数</th>
<th>提取的特征</th>
<th>例子</th>
</tr>
<tr>
<td><strong>浅层(第1-2层)</strong></td>
<td>基础视觉元素</td>
<td>边缘、线条、简单颜色块</td>
</tr>
<tr>
<td><strong>中层(第3-5层)</strong></td>
<td>形状和部件</td>
<td>圆形、方形、眼睛形状、轮子形状</td>
</tr>
<tr>
<td><strong>深层(第6-N层)</strong></td>
<td>完整物体</td>
<td>人脸、汽车、猫、狗的整体形态</td>
</tr>
</table>
<div class="concept-box success">
<h4><i class="fas fa-cat"></i> 实例:CNN如何识别一张猫的照片</h4>
<p><strong>第1层卷积</strong>:检测到边缘线条 → 发现猫轮廓的边界<br/>
<strong>第2层卷积</strong>:检测到形状 → 发现圆形的眼睛、三角形的耳朵<br/>
<strong>第3层卷积</strong>:检测到部件 → 眼睛+耳朵+胡须的组合<br/>
<strong>第4层卷积</strong>:检测到整体 → "这像是猫的脸"<br/>
<strong>全连接层</strong>:综合判断 → 输出"这是猫(概率98%)"</p>
</div>
<h4>2. 池化层——降维与关键特征保留</h4>
<p><span class="keyword-highlight">池化层</span>的作用是缩小特征图的尺寸,同时保留最重要的特征信息。</p>
<div class="concept-box">
<h4><i class="fas fa-compress-arrows-alt"></i> 为什么需要池化?</h4>
<p>• <strong>减少计算量</strong>:特征图太大,计算成本高<br/>
• <strong>防止过拟合</strong>:去除过多细节,保留核心特征<br/>
• <strong>增强鲁棒性</strong>:即使图像稍微移动、缩放,关键特征仍能被识别</p>
</div>
<h4>常见池化方式</h4>
<table class="comparison-table">
<tr>
<th>池化类型</th>
<th>原理</th>
<th>特点</th>
</tr>
<tr>
<td><strong>最大池化(Max Pooling)</strong></td>
<td>在区域内取最大值</td>
<td>保留最强特征,最常用</td>
</tr>
<tr>
<td><strong>平均池化(Average Pooling)</strong></td>
<td>在区域内取平均值</td>
<td>保留整体趋势,较平滑</td>
</tr>
</table>
<h4>3. 全连接层——最终分类决策</h4>
<p><span class="keyword-highlight">全连接层</span>将前面提取的所有特征综合起来,做出最终判断。</p>
<ul>
<li><strong>接收输入</strong>:来自最后一层卷积/池化的特征</li>
<li><strong>综合判断</strong>:将所有特征"投票"决定类别</li>
<li><strong>输出结果</strong>:每个类别的概率值(如:猫90%、狗5%、鸟5%)</li>
</ul>
<div class="flow-diagram">
<div class="flow-item">输入图像</div>
<span class="flow-arrow">→</span>
<div class="flow-item">卷积层<br/>(多次)</div>
<span class="flow-arrow">→</span>
<div class="flow-item">池化层<br/>(穿插)</div>
<span class="flow-arrow">→</span>
<div class="flow-item">全连接层</div>
<span class="flow-arrow">→</span>
<div class="flow-item">输出分类</div>
</div>
<h3 id="sub2-4">著名CNN架构</h3>
<table class="comparison-table">
<tr>
<th>架构</th>
<th>年份</th>
<th>特点</th>
<th>贡献</th>
</tr>
<tr>
<td><strong>AlexNet</strong></td>
<td>2012</td>
<td>8层,首次使用ReLU</td>
<td>开启深度学习时代</td>
</tr>
<tr>
<td><strong>VGG</strong></td>
<td>2014</td>
<td>16-19层,结构简洁</td>
<td>证明层数深效果好</td>
</tr>
<tr>
<td><strong>ResNet</strong></td>
<td>2015</td>
<td>残差连接,突破100层</td>
<td>解决深层网络训练难问题</td>
</tr>
<tr>
<td><strong>YOLO</strong></td>
<td>2016</td>
<td>实时目标检测</td>
<td>速度与精度平衡</td>
</tr>
</table>
<div class="concept-box warning">
<h4><i class="fas fa-exclamation-triangle"></i> CNN的局限</h4>
<p>• 主要处理图像,不适合序列数据(文本、语音)<br/>
• 对图像旋转、翻转敏感(需要数据增强)<br/>
• 需要大量标注数据训练<br/>
• 计算资源需求较大</p>
</div>
</div>
<div class="concept-section">
<h2 id="sec3"><i class="fas fa-code"></i> 使用PyTorch构建简单CNN</h2>
<p>下面展示如何用PyTorch构建一个用于图像分类的简单CNN:</p>
<pre><code class="language-python">import torch
import torch.nn as nn
import torch.nn.functional as F
class SimpleCNN(nn.Module):
"""简单的CNN模型,用于手写数字识别(MNIST)"""
def __init__(self):
super(SimpleCNN, self).__init__()
# 第一个卷积层:1通道输入,32个滤波器,3x3窗口
self.conv1 = nn.Conv2d(1, 32, kernel_size=3, padding=1)
# 第二个卷积层:32通道输入,64个滤波器
self.conv2 = nn.Conv2d(32, 64, kernel_size=3, padding=1)
# 全连接层
self.fc1 = nn.Linear(64 * 7 * 7, 128) # 28x28图像经过两次池化后为7x7
self.fc2 = nn.Linear(128, 10) # 10个类别(数字0-9)
# Dropout层防止过拟合
self.dropout = nn.Dropout(0.25)
def forward(self, x):
# 第一层:卷积 → ReLU → 最大池化
x = F.relu(self.conv1(x)) # 输出: 32 x 28 x 28
x = F.max_pool2d(x, 2) # 输出: 32 x 14 x 14
# 第二层:卷积 → ReLU → 最大池化
x = F.relu(self.conv2(x)) # 输出: 64 x 14 x 14
x = F.max_pool2d(x, 2) # 输出: 64 x 7 x 7
# 展平为一维向量
x = x.view(-1, 64 * 7 * 7) # 输出: 3136
# 全连接层 + Dropout
x = F.relu(self.fc1(x))
x = self.dropout(x)
x = self.fc2(x) # 输出: 10(各类别得分)
return x
# 创建模型实例
model = SimpleCNN()
print(f"模型参数总量: {sum(p.numel() for p in model.parameters()):,}")
# 输出: 模型参数总量: 540,850
# 模拟前向传播
dummy_input = torch.randn(1, 1, 28, 28) # 批量大小1,1通道,28x28图像
output = model(dummy_input)
print(f"输出形状: {output.shape}") # 输出: torch.Size([1, 10])</code></pre>
</div>
<div class="concept-section video-section">
<h2 id="sec4"><i class="fas fa-play-circle"></i> 推荐视频</h2>
<p>如果你觉得文字讲解不够直观,推荐观看以下视频:</p>
<div class="video-card">
<div class="video-icon"><i class="fab fa-bilibili"></i></div>
<div class="video-info">
<h4>卷积神经网络</h4>
<p class="video-author">作者:3Blue1Brown</p>
<p class="video-desc">为什么推荐:可视化卷积操作过程</p>
<a href="https://www.bilibili.com/video/BV1bx411M7ZL" target="_blank" class="video-link">
<i class="fas fa-external-link-alt"></i> 点击观看
</a>
</div>
</div>
</div>
<div class="ai-box ai-box--summary" id="summary">
<h3 id="sub4-5"><i class="fas fa-clipboard-list"></i> 本章小结</h3>
<ol>
<li>CNN是专为图像处理设计的深度学习架构,通过卷积操作保留空间关系,逐层提取从简单到复杂的特征。</li>
<li>卷积层使用滤波器在图像上滑动扫描,提取边缘、形状、物体等层次化特征。</li>
<li>池化层缩小特征图尺寸,减少计算量并增强鲁棒性;全连接层综合所有特征做出分类决策。</li>
<li>经典CNN架构包括AlexNet(开启深度学习时代)、VGG(证明深层有效)、ResNet(残差连接突破深度限制)。</li>
<li>CNN的局限包括:主要处理图像、对旋转敏感、需要大量标注数据和计算资源。</li>
</ol>
</div>
<div class="ai-box ai-box--exercise" id="exercises">
<h3 id="sub4-6"><i class="fas fa-pencil-alt"></i> 练习题</h3>
<ol>
<li>
<p><strong>CNN中卷积层的主要作用是什么?</strong></p>
<p>A. 将图像展平为一维向量<br/>B. 使用滤波器在图像上滑动扫描,提取特征<br/>C. 将特征图缩小到固定尺寸<br/>D. 计算各类别的概率</p>
<p><strong>答案:B</strong>。卷积层使用滤波器在图像上滑动扫描,通过加权求和提取各种特征。</p>
</li>
<li>
<p><strong>以下哪种池化方式最常用于CNN中?</strong></p>
<p>A. 最小池化(Min Pooling)<br/>B. 中值池化(Median Pooling)<br/>C. 最大池化(Max Pooling)<br/>D. 随机池化(Random Pooling)</p>
<p><strong>答案:C</strong>。最大池化在区域内取最大值,保留最强特征,是CNN中最常用的池化方式。</p>
</li>
<li>
<p><strong>ResNet的核心创新是什么?</strong></p>
<p>A. 使用更大的滤波器<br/>B. 引入残差连接(跳跃连接)<br/>C. 去掉全连接层<br/>D. 使用循环结构</p>
<p><strong>答案:B</strong>。ResNet通过残差连接(跳跃连接)让梯度可以直接流过浅层,解决了深层网络训练困难的问题。</p>
</li>
</ol>
</div>
<!-- ============================================================ -->
</main>
</div>
<!-- ==================== 章节底部导航 ==================== -->
<nav class="chapter-nav-bottom" style="background: #f7fafc; border-top: 1px solid #e2e8f0; padding: 2rem; margin-top: 3rem;">
<div style="max-width: 900px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center;">
<a href="ch08.html" class="prev-chapter" style="color: #4299e1; font-size: 1rem; padding: 0.75rem 1.5rem; border: 2px solid #4299e1; border-radius: 8px; transition: all 0.3s;">
<i class="fas fa-arrow-left"></i> 上一章
</a>
<span style="color: #718096; font-size: 0.9rem;">第九章:卷积神经网络(CNN)</span>
<a href="ch10.html" class="next-chapter" style="color: #4299e1; font-size: 1rem; padding: 0.75rem 1.5rem; border: 2px solid #4299e1; border-radius: 8px; transition: all 0.3s;">
下一章 <i class="fas fa-arrow-right"></i>
</a>
</div>
</nav>
<!-- ==================== 页脚 ==================== -->
<footer class="footer">
<div class="footer-content">
<div class="footer-section">
<h3 id="sub4-7"><i class="fas fa-graduation-cap"></i> AI学习笔记</h3>
<p>从零开始系统学习人工智能</p>
<p>涵盖前置基础、核心原理、工程实践、应用工具、进阶展望</p>
</div>
<div class="footer-section">
<h3 id="sub4-8"><i class="fas fa-bookmark"></i> 内容导航</h3>
<p><a href="ch06.html" style="color: rgba(255,255,255,0.9);">第六章:模型</a></p>
<p><a href="ch07.html" style="color: rgba(255,255,255,0.9);">第七章:训练</a></p>
<p><a href="ch08.html" style="color: rgba(255,255,255,0.9);">第八章:模型评估与调优</a></p>
<p><a href="ch09.html" style="color: rgba(255,255,255,0.9);">第九章:CNN</a></p>
<p><a href="ch10.html" style="color: rgba(255,255,255,0.9);">第十章:Transformer</a></p>
</div>
<div class="footer-section">
<h3 id="sub4-9"><i class="fas fa-info-circle"></i> 说明</h3>
<p>本笔记仅供学习参考,内容如有错误欢迎指正。</p>
<p>AI技术发展迅速,部分信息可能随时间变化。</p>
</div>
</div>
<div class="footer-bottom">
<p>AI学习笔记 © 2024 | 持续更新中</p>
</div>
</footer>
<!-- Scripts -->
<script src="../../js/mobile-menu.js"></script>
<script src="../../js/dark-mode.js"></script>
<script src="assets/ai-notes.js"></script>
</body>
</html>