• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
MKT-porter
博客园    首页    新随笔    联系   管理    订阅  订阅
2023年9月18日
pytorch(2) softmax回归
摘要: https://tangshusen.me/Dive-into-DL-PyTorch/#/chapter03_DL-basics/3.4_softmax-regression ''' softmax 将未规范化的预测变换为非负数并且总和为1 我们首先对每个未规范化的预测求幂,这样可以保证输出非负。 阅读全文
posted @ 2023-09-18 21:58 MKT-porter 阅读(27) 评论(0) 推荐(0)
pytorch(3)损失函数
摘要: 1 损失函数 | Mean-Squared Loss https://zhuanlan.zhihu.com/p/35707643 2 交叉熵损失函数 https://www.zhihu.com/tardis/zm/art/35709485?source_id=1003 阅读全文
posted @ 2023-09-18 21:56 MKT-porter 阅读(64) 评论(0) 推荐(0)
pytorch(1)安装
摘要: https://pytorch.org/get-started/locally/ 创建环境 conda create -n pytorch python=3.9 激活 activate pytorch 安装pytorch https://pytorch.org/ 根据cuda的版本 pip inst 阅读全文
posted @ 2023-09-18 15:09 MKT-porter 阅读(37) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3