当前位置: 首页 > article >正文

《PyTorch深度学习快速入门教程》学习笔记(第16周)

目录

摘要

abstract

1. Tensorboard的环境

2. Tensorboard 写日志

3. Tensorboard 读日志

4. Tensorboard 读图片


摘要

本周报的目的在于汇报《PyTorch深度学习快速入门教程》课程第二周的学习成果,主要聚焦于Tensorboard的使用以及其相关内容。

在这本周的学习中,课程内容主要涵盖了Tensorboard使用,包括等等。

本篇文章将对学习内容进行详细的阐述,并在最后部分对本周的学习内容进行总结。本周报旨在通过这种方式,将理论知识与实践应用有效地结合起来,为深度学习的基础内容学习与方向提供概括性总结。

abstract

The purpose of this weekly report is to present the learning outcomes of the first week of the PyTorch Deep Learning Quick Start Tutorial course, with a focus on the installation of the PyTorch runtime environment and its related content.

In this week's learning, the course content mainly covers the use of Tensorboard, including Tensorboard environment, Tensorboard log writing and reading, and so on.

This article will provide a detailed explanation of the learning content and summarize the learning content for this week in the final section. This weekly report aims to effectively combine theoretical knowledge with practical applications in this way, providing a summary of the basic content and direction of deep learning learning learning.

1. Tensorboard的环境

Tensorboad 可以用来查看loss是否按照我们预想的变化,或者查看训练到某一步输出的图像是什么样。

首先使用pip install tensorboard命令安装Tensorboard,然后引入SummaryWriter

2. Tensorboard 写日志

通过SummaryWriter()创建一个writer对象,参数为writer写的文件所在文件夹名。

产生的日志文件:

3. Tensorboard 读日志

在 Anaconda 终端里面,激活python环境,再输入  tensorboard --logdir=“日志文件所在目录”
命令,将网址赋值浏览器的网址栏,回车,即可查看tensorboard显示日志情况。

输入网址可得Tensorboard界面。

4. Tensorboard 读图片

使用writer.add_images()函数可在tensorboard中读入图片数据

通过上述读日志同样的操作可以读到写入的图片


http://www.kler.cn/news/355239.html

相关文章:

  • 550,游戏玩法分析四
  • Lumerical学习——优化和参数扫描(Optimization and parameter sweeps)
  • LeetCode:1884. 鸡蛋掉落-两枚鸡蛋(dp Java)
  • Java面经--JVM篇
  • 【存储设备专栏 2.2 -- linux 下 fdisk -l 命令详细介绍2 】
  • 【计算机网络】IPv4地址的表示方法
  • Nest.js 实战 (十四):如何获取客户端真实 IP
  • taro+taro-ui学习
  • RK3588的demo板学习
  • 【GPT提问技巧】如何高效提问GPT:掌握核心技巧,获取高质量回答的终极指南!
  • manjaro kde 24 应该如何设置才能上网(2024-10-13亲测)
  • 【论文速读】Adapter tuning:Parameter-Effificient Transfer Learning for NLP
  • Java微信支付接入(7) - API V3 Native 商户定时查询本地订单
  • Docker部署一款小巧又强大的的自托管网站监控工具Uptime Kuma
  • 谈谈你对vue内置组件keep-alive的了解
  • 吴恩达深度学习笔记(6)
  • 【进阶OpenCV】 (19)-- Dlib库 --人脸表情识别
  • 删除链表的倒数第 N 个结点 | LeetCode-19 | 双指针 | 递归 | 栈 | 四种方法
  • 数据库初体验
  • 淘系商品详情数据封装接口(API接口)json数据格式分析