会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
michaelchengjl
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
44
下一页
2024年12月30日
pytorch构建并保存模型(.pth) 转化为 torchscript(.pt), 导出为onnx格式
摘要: pytorch(.pth)模型转化为 torchscript(.pt), 导出为onnx格式 1 .pth模型转换为.pt模型 import torch import torchvision from models import fcn model=torchvision.models.vgg16(
阅读全文
posted @ 2024-12-30 18:31 michaelchengjl
阅读(1396)
评论(0)
推荐(0)
2024年12月17日
图说设计模式
摘要: 图说设计模式 https://design-patterns.readthedocs.io/zh-cn/latest/read_uml.html
阅读全文
posted @ 2024-12-17 16:59 michaelchengjl
阅读(67)
评论(0)
推荐(0)
2024年12月12日
C++ debug
摘要: C++ debug 在 C++ 中,查看程序的调用栈(Call Stack)通常用于调试崩溃、性能问题或逻辑错误等场景。以下是几种常用的方法来查看调用栈: 1. 使用 GDB 调试器查看调用栈 GDB(GNU Debugger)是 Linux 上非常流行的调试工具,可以用来查看 C++ 程序的调用栈
阅读全文
posted @ 2024-12-12 19:15 michaelchengjl
阅读(390)
评论(0)
推荐(0)
python debug
摘要: python debug 在 Python 中,查看程序的调用栈(call stack)可以帮助你调试代码,了解函数调用的顺序和上下文。以下是查看 Python 调用栈的常用方法。 1. 使用 traceback 模块 traceback 是 Python 标准库模块,可用于打印异常发生时的调用栈或
阅读全文
posted @ 2024-12-12 19:00 michaelchengjl
阅读(351)
评论(0)
推荐(0)
2024年12月4日
Pytorch基础入门教程
摘要: Pytorch基础入门教程 https://docs.pytorch.org/docs/stable/generated/torch.nn.functional.scaled_dot_product_attention.html https://blog.csdn.net/ccaoshangfei/
阅读全文
posted @ 2024-12-04 19:34 michaelchengjl
阅读(99)
评论(0)
推荐(0)
Python扩展C/C++ 实现原理分析
摘要: Python扩展C/C++ 实现原理分析 https://blog.csdn.net/HaoBBNuanMM/article/details/112243129?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522ab2ac79057d38
阅读全文
posted @ 2024-12-04 14:20 michaelchengjl
阅读(46)
评论(0)
推荐(0)
2024年12月3日
Ubuntu2004 安装多版本gcc 并切换gcc版本
摘要: Ubuntu2004 安装多版本gcc 并切换gcc版本 1. 安装多版本gcc sudo apt-get update sudo apt-get install -y gcc-9 g++-9 sudo apt-get install -y gcc-7 g++-7 2. 查看已安装的gcc版本 ls
阅读全文
posted @ 2024-12-03 19:41 michaelchengjl
阅读(1049)
评论(0)
推荐(0)
2024年11月29日
linux查看so库函数命令
摘要: linux查看so库函数命令 在Linux中,可以使用以下命令来查看共享对象(so)库的函数: nm命令:通过使用nm命令,可以列出so库中定义的所有符号,包括函数、变量等。使用以下命令: “ nm -D “ 例如: nm -D libtest.so 该命令将列出libtest.so库中的所有符号,
阅读全文
posted @ 2024-11-29 18:44 michaelchengjl
阅读(1734)
评论(0)
推荐(0)
eval()、exec()与execfile()
摘要: eval()、exec()与execfile() https://www.cnblogs.com/linxiyue/p/7732555.html https://blog.csdn.net/jeff0x400/article/details/38311135
阅读全文
posted @ 2024-11-29 15:12 michaelchengjl
阅读(44)
评论(0)
推荐(0)
2024年11月21日
pytorch 源码编译安装, 源码分析
摘要: pytorch 源码编译安装,源码分析 支持cuda, cudnn 1. 安装好GPU dirver, CUDA, cuDNN (注意对应版本) 2. 下载pytorch 源码 git clone https://github.com/pytorch/pytorch.git cd pytorch g
阅读全文
posted @ 2024-11-21 17:16 michaelchengjl
阅读(1263)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
44
下一页
公告