会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
guanghui-hua
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
8
下一页
2024年3月18日
python 面向对象(三)magic methods
摘要: magic methods就是双下划线方法 As a Python developer who wants to harness the power of object-oriented programming, you’ll love to learn how to customize your
阅读全文
posted @ 2024-03-18 15:28 光辉233
阅读(1)
评论(0)
推荐(0)
编辑
find命令
摘要: Reference Linux系统find命令详解
阅读全文
posted @ 2024-03-18 08:56 光辉233
阅读(2)
评论(0)
推荐(0)
编辑
2024年3月17日
Linux监控CPU和GPU
摘要: 监控显卡占用情况 watch -n 2 nvidia-smi cpupower 安装 sudo apt install linux-tools-common CPU实时频率查看 watch -n 1 sudo cpupower monitor 查看cpu频率 watch -n 0 "cat /pro
阅读全文
posted @ 2024-03-17 18:34 光辉233
阅读(78)
评论(0)
推荐(0)
编辑
python命令行接受参数
摘要: Reference What is the purpose of the -m switch? python官方文档--Python 的调试器
阅读全文
posted @ 2024-03-17 17:41 光辉233
阅读(2)
评论(0)
推荐(0)
编辑
conda很慢怎么办
摘要: conda的通道与镜像地址 当我们使用conda install xxx或者conda creat -n xxx命令时,就会从一个叫做配置文件的地方去下载一些包,通道(channel)就在配置文件中,其实就相当于下载地址。当我们安装anaconda之后,就有一个默认的下载地址defaults,它是a
阅读全文
posted @ 2024-03-17 11:54 光辉233
阅读(386)
评论(0)
推荐(0)
编辑
深度学习中使用tqdm库
摘要: 什么是tqdm? tqdm是一个快速、可扩展的Python进度条,可以在Python长循环中添加一个进度提示信息,用户只需要封装任意的迭代器tqdm(iterator)。它可以帮助我们监测程序运行的进度,估计运行的时长,甚至可以协助debug。对于在长时间运行的任务中显示进度很有用,因为它可以让用户
阅读全文
posted @ 2024-03-17 11:50 光辉233
阅读(107)
评论(0)
推荐(0)
编辑
2024年3月12日
U-net
摘要: 实例在LiTS-肝肿瘤分割挑战数据集训练unet模型 Reference 原文U-Net: Convolutional Networks for Biomedical Image Segmentation pytorch笔记:05)UNet网络简单实现 精读论文U-Net: Convolutiona
阅读全文
posted @ 2024-03-12 00:53 光辉233
阅读(9)
评论(0)
推荐(0)
编辑
2024年3月10日
PyTorch训练一个网络的基本流程5步法
摘要: step1. 加载数据 step2. 定义网络 step3. 定义损失函数和优化器 step4. 训练网络,循环4.1到4.6直到达到预定epoch数量 – step4.1 加载数据 – step4.2 初始化梯度 – step4.3 计算前馈 – step4.4 计算损失 – step4.5 计算
阅读全文
posted @ 2024-03-10 21:35 光辉233
阅读(19)
评论(0)
推荐(0)
编辑
pytorch_lightning的使用
摘要: Reference 1.【PyTorch Ligntning】快速上手简明指南 2. Pytorch Lightning 完全攻略 3. PyTorch Lightning教程四:超参数的使用 4. 小风_的CSDN
阅读全文
posted @ 2024-03-10 21:34 光辉233
阅读(16)
评论(0)
推荐(0)
编辑
使用try捕获异常,并写入日志文件
摘要: pass Reference 将python脚本运行过程中的报错信息写入日志文件
阅读全文
posted @ 2024-03-10 11:12 光辉233
阅读(8)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
···
8
下一页