上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 59 下一页
摘要: Git 子模块(submodule)允许你将一个 Git 仓库作为另一个 Git 仓库的子目录。 添加子模块 基本语法: git submodule add <repository> <path> 示例 git submodule add https://github.com/example/rep 阅读全文
posted @ 2025-02-13 12:06 Undefined443 阅读(24) 评论(0) 推荐(0)
摘要: 在机器学习和深度学习中,数据集通常被分为不同的部分,主要包括训练集(training set)、验证集(validation set)和测试集(test set)。这里介绍一下这些数据集的作用和区别: 训练集(Training Set): 这是用于训练模型的数据集。模型在这个数据集上学习以理解输入数 阅读全文
posted @ 2025-02-10 13:29 Undefined443 阅读(214) 评论(0) 推荐(0)
摘要: 直接处理 import sys # 检查参数数量 if len(sys.argv) < 2: print("Usage: python script.py arg1 [arg2 ...]") sys.exit(1) # 第一个参数是脚本自身名称 script_name = sys.argv[0] # 阅读全文
posted @ 2025-02-08 02:14 Undefined443 阅读(53) 评论(0) 推荐(0)
摘要: 基本组件 卷积 相乘,再求和。 \[C_{x,y} = \sum A_{i,j,k} \times B_{i,j,k} \] 有几个卷积核,输出通道数就是几。 一维卷积 二维卷积 参见: Convolutions Over Volume | Coursera But what is a convol 阅读全文
posted @ 2025-01-27 01:29 Undefined443 阅读(32) 评论(0) 推荐(0)
摘要: 对于 \(n\) 维向量 \(\mathbf{x} = \begin{bmatrix} x_1 \\ x_2 \\ \vdots \\ x_n \end{bmatrix}\) 中的元素 \(x_i\),可以计算 softmax: \[\text{softmax}(x_i)=\frac{e^{x_i} 阅读全文
posted @ 2025-01-24 01:05 Undefined443 阅读(18) 评论(0) 推荐(0)
摘要: 自注意力 可以将 \(q^{<i>}\) 理解为单词 \(x^{<i>}\) 提出的问题,将 \(k^{<j>}\) 理解为单词 \(x^{<j>}\) 做出的回答。将 \(v^{<z>}\) 理解为单词 \(x^{<z>}\) 的含义。 参考:Self-Attention | Coursera 多 阅读全文
posted @ 2025-01-23 23:48 Undefined443 阅读(59) 评论(0) 推荐(0)
摘要: DistributedDataParallel PyTorch 中的 DistributedDataParallel 和 Elastic 是用于支持分布式训练的两个相关组件,常常结合使用。 DistributedDataParallel 用于在多个 GPU 上实现数据并行的分布式训练。其在每个 GP 阅读全文
posted @ 2025-01-21 17:26 Undefined443 阅读(150) 评论(0) 推荐(0)
摘要: Caddy 是一个可以全自动配置 HTTPS 加密的 Web 服务器。其具有配置简单易上手的特点,适合用于个人博客。 部署网站 安装 Caddy sudo apt install -y debian-keyring debian-archive-keyring apt-transport-https 阅读全文
posted @ 2025-01-20 17:43 Undefined443 阅读(72) 评论(0) 推荐(0)
摘要: config: theme: mc look: classic layout: dagre flowchart LR Input["<h4>输入文件:</h4><br><code>Hello World<br>Hello Python<br>Python Java<br>Java World</co 阅读全文
posted @ 2025-01-20 02:12 Undefined443 阅读(40) 评论(0) 推荐(0)
摘要: Amazon EMR (Elastic MapReduce) 是一种托管的大数据处理服务,使用户能够在云上便捷、快速地运行和管理大规模数据分析和处理任务。 我们可以在 EMR 集群上安装各种分布式程序。这里我们将介绍如何安装最基础的 Hadoop 分布式计算框架并在其上运行一个 MapReduce 阅读全文
posted @ 2025-01-18 19:01 Undefined443 阅读(73) 评论(0) 推荐(0)
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 59 下一页