会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
首页
新随笔
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
341
下一页
2025年10月31日
numpy 中二维数据 乘以(@) 一维数组。
摘要: 在 NumPy 中,@ 符号表示矩阵乘法(也称为点积运算),遵循线性代数中的矩阵乘法规则。当二维数组与一维数组使用 @ 相乘时,会根据它们的形状触发不同的计算逻辑: 核心规则 二维数组(形状为 (m, n))与一维数组(形状为 (n,))相乘时: 一维数组会被视为列向量(形状为 (n, 1)) 结果
阅读全文
posted @ 2025-10-31 13:08 emanlee
阅读(77)
评论(0)
推荐(0)
2025年10月30日
Matplotlib绘图入门
摘要: 内容来自: https://www.zhihu.com/column/c_1675971714134269952 Matplotlib绘图指南-1-初识matplotlib 什么是 Matplotlib? Matplotlib 是一个绘图库,可以用于绘制各种统计图表和图形。它提供了丰富的工具和选项,
阅读全文
posted @ 2025-10-30 20:45 emanlee
阅读(229)
评论(0)
推荐(0)
2025年10月26日
Python图表库Matplotlib 组成部分介绍(Good)
摘要: 来自: https://www.cnblogs.com/rustfisher/p/15042912.html Python图表库Matplotlib 组成部分介绍 图表有很多个组成部分,例如标题、x/y轴名称、大刻度小刻度、线条、数据点、注释说明等等。 我们来看官方给的图,图中标出了各个部分的英文名
阅读全文
posted @ 2025-10-26 18:00 emanlee
阅读(89)
评论(0)
推荐(0)
2025年10月25日
Python matplotlib 画图入门示例01
摘要: 参考: https://www.cnblogs.com/emanlee/p/16025425.html Matplotlib 是 Python 的绘图库,它能让使用者很轻松地将数据图形化,并且提供多样化的输出格式。Matplotlib 可以用来绘制各种静态,动态,交互式的图表。Matplotlib
阅读全文
posted @ 2025-10-25 13:29 emanlee
阅读(70)
评论(0)
推荐(0)
2025年10月24日
NumPy 入门示例系列01
摘要: 参考: https://www.cnblogs.com/emanlee/p/16025421.html NumPy(Numerical Python)是Python的一种开源的数值计算扩展。这种工具可用来存储和处理大型矩阵,比Python自身的嵌套列表(nested list structure)结
阅读全文
posted @ 2025-10-24 23:41 emanlee
阅读(139)
评论(0)
推荐(0)
2025年10月7日
打印A3大小的PDF文件为A4幅面
摘要: Foxit 福昕打印pdf: 放大150% 然后把每页旋转180度,保存,打印。 方法一: 用 Acrobat Pro DC 旋转。 方法二: 用 illustrator,打开pdf,选择某页,旋转,保存
阅读全文
posted @ 2025-10-07 20:49 emanlee
阅读(32)
评论(0)
推荐(0)
2025年10月6日
在 PyCharm 中,环境:bert_env , 执行 import wandb 报错。但是,在CMD窗口,环境:bert_env , 执行 import wandb 正常。
摘要: 同一个wandb包,使用相同的conda虚拟环境,在pycharm中导入失败,在command窗口中导入成功。 同一个ssl包,使用相同的conda虚拟环境,在pycharm中导入失败,在command窗口中导入成功。 在 PyCharm 中,环境:bert_env , 执行 import wand
阅读全文
posted @ 2025-10-06 11:13 emanlee
阅读(22)
评论(0)
推荐(0)
2025年10月5日
NotImplementedError: Cannot convert a symbolic Tensor (lstm/strided_slice:0) to a numpy array.
摘要: NotImplementedError: Cannot convert a symbolic Tensor (lstm/strided_slice:0) to a numpy array. This error may indicate that you're trying to pass a Te
阅读全文
posted @ 2025-10-05 22:53 emanlee
阅读(16)
评论(0)
推荐(0)
UnicodeEncodeError: 'locale' codec can't encode character '\u5e74' in position 2: encoding error
摘要: s= datetime.now().strftime(u"%Y年%m月%d日 %H:%M:%S" )UnicodeEncodeError: 'locale' codec can't encode character '\u5e74' in position 2: encoding error 可行方
阅读全文
posted @ 2025-10-05 20:27 emanlee
阅读(20)
评论(0)
推荐(0)
在PyCharm中运行 wandb.login();
摘要: 在PyCharm中运行 wandb.login() wandb: ERROR api_key not configured (no-tty). call wandb.login(key=[your_api_key])Traceback (most recent call last): File "E
阅读全文
posted @ 2025-10-05 19:15 emanlee
阅读(50)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
341
下一页