会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Sleven
博客园
首页
新随笔
联系
管理
订阅
2025年3月6日
ubuntu 快捷chrome
摘要: /usr/bin/google-chrome-stable --proxy-server="http://127.0.0.1:8888"
阅读全文
posted @ 2025-03-06 21:29 Sleven
阅读(3)
评论(0)
推荐(0)
2021年11月9日
L0范式、L1范式、L2范式解释通俗版
摘要: L0范数是指向量中非0的元素的个数。(L0范数很难优化求解) L1范数是指向量中各个元素绝对值之和 L2范数是指向量各元素的平方和然后求平方根 L1范数可以进行特征选择,即让特征的系数变为0. L2范数可以防止过拟合,提升模型的泛化能力,有助于处理 condition number不好下的矩阵(数据
阅读全文
posted @ 2021-11-09 11:08 Sleven
阅读(525)
评论(0)
推荐(0)
2021年10月24日
ubuntu安装xface
摘要: Gnome、KDE、XFACE桌面环境安装和卸载 出自Ubuntu中文 安装桌面环境 (一)在终端中运行安装: 1、安装XFACE: sudo apt-get install xubuntu-desktop 点上面的菜单“应用程序-附件-终端”进入到终端,先输入你的用户的密码 2、安装KDE:sud
阅读全文
posted @ 2021-10-24 17:58 Sleven
阅读(1181)
评论(0)
推荐(0)
2021年9月25日
分类函数
摘要:
阅读全文
posted @ 2021-09-25 19:45 Sleven
阅读(17)
评论(0)
推荐(0)
2021年9月14日
miou
摘要: 1. 前言 本文学习记录了机器学习中的分类常见评价指标以及分割中的MIoU。 主要有以下概念:Accuracy, Precision, Recall, Fscore,混淆矩阵,IoU及MIoU。 2. 分类评测指标 图像分类, 顾名思义就是一个模式分类问题, 它的目标是将不同的图像, 划分到不同的类
阅读全文
posted @ 2021-09-14 16:52 Sleven
阅读(786)
评论(0)
推荐(0)
2021年5月10日
module
摘要: import torchfrom torch import nnfrom torch import optim#优化器类# 1. torch.optim.SGD(参数,学习率)# 2. torch.optim.Adam(参数,学习率)import numpy as npfrom matplotlib
阅读全文
posted @ 2021-05-10 22:39 Sleven
阅读(142)
评论(0)
推荐(0)
2021年5月3日
train_data
摘要: for images, labels in train_data: for images, labels in train_data: img = images[0] img = img.numpy() img = np.transpose(img, (1, 2, 0)) plt.imshow(im
阅读全文
posted @ 2021-05-03 15:24 Sleven
阅读(80)
评论(0)
推荐(0)
2021年4月27日
损失函数
摘要: import torchimport torch.nn as nninput = torch.randn(3, 3)#print(input)sm = nn.Softmax(dim=1)sl = nn.LogSoftmax(dim=1)#print(sm(input))test1 = torch.l
阅读全文
posted @ 2021-04-27 09:46 Sleven
阅读(63)
评论(0)
推荐(0)
公告