自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(90)
  • 收藏
  • 关注

转载 github上传和更新自己代码的步骤

github上传和更新自己代码的步骤

2023-01-10 15:16:48 149

转载 MobileNet-V2的理解

线性瓶颈线性瓶颈英文为Linear Bottleneck,是从Bottleneck结构演变而来的,被用于MobileNetV2与V3。Bottleneck结构首次被提出是在ResNet网络中。该结构第一层使用逐点卷积,第二层使用3×3大小卷积核进行深度卷积,第三层再使用逐点卷积。MobileNet中的瓶颈结构最后一层逐点卷积使用的激活函数是Linear,所以称其为线性瓶颈结构(Linear Bottleneck)。线性瓶颈结构有两种,第一种是步长为1时使用残差结构,第二种是步长为2时不使用残差结构。..

2021-07-02 10:16:57 737

原创 ERROR: An NVIDIA kernel module ‘nvidia-drm‘ appears to already be loaded in your kernel.

安装显卡驱动时报错:ERROR: An NVIDIA kernel module ‘nvidia-drm’ appears to already be loaded in your kernel. This may be because it is in use (for example, by an X server, a CUDA program, or the NVIDIA Persistence Daemon), but this may also happen if your kernel w

2021-06-25 16:48:36 6991

原创 RuntimeError: CUDA error: no kernel image is available for execution on the driver

问题:RuntimeError: CUDA error: no kernel image is available for execution on the driver, when use pytorch 1.7 on linux with RTX 3090解决方案:pip install torch1.7.1+cu110 torchvision0.8.2+cu110 torchaudio===0.7.2 -f https://download.pytorch.org/whl/torch_stable.

2021-03-10 14:24:51 619

转载 LaTeX 表格指定宽度并居中

转载自:https://blog.csdn.net/YhL_Leo/article/details/50532269

2020-12-21 15:32:17 1652

转载 ubuntu opencv 打开摄像头失败

参考:https://www.it610.com/article/1294177719537442816.htm

2020-11-26 11:01:05 541

转载 ubuntu设置机械硬盘

下载分区工具gparted:sudo apt-get install gpartedsudo gparted分区之后参考如下链接设置开机自动挂载https://blog.csdn.net/iAm333/article/details/17224115

2020-08-31 13:06:29 412

转载 Ubuntu 18.04 配置ibus中文拼音输入法

转自:https://blog.csdn.net/wu10188/article/details/86540464

2020-08-31 09:42:33 466

原创 ubuntu 18.0安装NVIDIA显卡驱动报错ERROR : An error occurred while performing the step : ” Building kernel

根据文章:https://blog.csdn.net/weixin_40769885/article/details/90607545?utm_medium=distribute.pc_relevant.none-task-blog-baidujs-1&spm=1001.2101.3001.4242推断是因为根据某些教程安装驱动时升级了内核,重启之后新的内核和之前旧版本的驱动文件不匹配,导致无法安装驱动。解决方法:内核降级由于内核的升级是安装新版本内核的同时保留旧版内核,所以重启ubuntu

2020-07-27 16:42:32 2702 2

转载 敏感性,特异性(sensitivity, specificity)的理解

添加链接描述添加链接描述

2020-05-29 10:13:45 5685

转载 Pytorch中Softmax、Log_Softmax、NLLLoss以及CrossEntropyLoss的关系与区别详解

参考:https://blog.csdn.net/qq_28418387/article/details/95918829?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.noneca

2020-05-18 10:37:32 430

转载 语义分割评价指标:PA、CPA、MPA、IoU、MIoU详细总结

详解:https://blog.csdn.net/sinat_29047129/article/details/103642140混淆矩阵的计算理解:https://blog.csdn.net/weixin_43143670/article/details/104722381FWIoU频权交并比补充:https://blog.csdn.net/majinlei121/article/details/78965435

2020-05-18 10:35:55 7246

转载 图像分割评测指标dice score的理解

参考:https://blog.csdn.net/qwer7512090/article/details/92846558?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-6.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromBaidu-6.nonecasehttps://blog.csdn.n

2020-05-18 10:29:05 5551

转载 Matplotlib绘制三维散点图和曲线图

整体架构参考:https://blog.csdn.net/weixin_41869644/article/details/89460329设置标题、轴标签、刻度、刻度标签:https://blog.csdn.net/Asher117/article/details/85128463

2020-05-17 15:05:18 1308

转载 [python3] torndb中的itertools.zip[AttributeError: module 'itertools' has no attribute 'izip']

在python3中,使用torndb进行查询时,遇到问题 AttributeError: module ‘itertools’ has no attribute ‘izip’,解决该问题过程中耗费了不少时间,故把解决办法写下以便以后遇到该问题的人能更快速的解决:因为python3中filter,map,zip本身就已经是generator了,所以torndb中的138行用到itertools.i...

2020-05-08 10:01:20 724

原创 python-FileNotFoundError: [Errno 2] No such file or directory:

需要将要打开的文件放在当前python程序下,而不是项目的根目录下。

2020-04-22 14:13:01 782

转载 python3引入同一目录下的py文件

原因:python2与python3的包内import语法有区别例如在a.py文件中要引入b.py文件:1、在目录下有__init__.py文件2、在a.py文件中加一行:from . import b(如果要引入同一目录下的b.py文件中的一个类Hello,在a.py文件中加一行:from .b import Hello)可以直接在__init__.py中import,在该目录下的文件...

2020-04-22 13:26:33 5876

转载 图像分割评测指标MIOU之python代码详解

Pixel Accuracy(PA,像素精度):这是最简单的度量,为标记正确的像素占总像素的比例。Mean Pixel Accuracy(MPA,均像素精度):是PA的一种简单提升,计算每个类内被正确分类像素数的比例,之后求所有类的平均。Mean Intersection over Union(MIoU,均交并比):为语义分割的标准度量。其计算两个集合的交集和并集之比,在语义分割的...

2020-04-20 15:42:00 4471 3

原创 sys.path.insert()无法添加搜索路径

问题sys.path.insert(0, './cityscapesScripts/cityscapesscripts/evaluation')from city_meanIU import city_meanIU找不到city_meanIU函数尝试:因无法在指定路径搜索到city_meanIU, 尝试将其复制到工程的库目录中, 运行程序时报错解决办法绝对不要修改工程库目录,...

2020-04-17 09:53:02 522

转载 U-Net图像分割网络的理解

输入输出医学图像是一般相当大,但是分割时候不可能将原图太小输入网络,所以必须切成一张一张的小patch,在切成小patch的时候,Unet由于网络结构原因适合有overlap的切图,可以看图,红框是要分割区域,但是在切图时要包含周围区域,overlap另一个重要原因是周围overlap部分可以为分割区域边缘部分提供文理等信息。可以看黄框的边缘,分割结果并没有受到切成小patch而造成分割情况不好...

2020-04-08 19:12:57 889

转载 机器学习中testing和hold-out的区别

转自:https://zhuanlan.zhihu.com/p/37646822

2020-04-05 13:49:34 790

转载 公式截图一键转换为word公式

转载自:https://www.bilibili.com/read/cv2499646/pandoc的安装与使用参考: https://www.jianshu.com/p/6ba04f669d0b(若已经安装了Anaconda,则不需要再安装pandoc)

2020-03-30 09:57:00 1946

转载 python的字符串截取

str = ‘0123456789’print str[0:3] #截取第一位到第三位的字符print str[:] #截取字符串的全部字符print str[6:] #截取第七个字符到结尾print str[:-3] #截取从头开始到倒数第三个字符之前print str[2] #截取第三个字符print str[-1] #截取倒数第一个字符print str[::-1] #创造一个...

2020-03-30 09:17:28 196

转载 算法: 压缩感知理论的理解

主成份分析(PCA)与压缩感知(CS)的区别:CS的初衷是在低于奈奎斯特频率的采样率下进行采样,所以压缩感知的核心是感知——sensing,而不是压缩——compression。CS的核心问题是:如何建立起高维空间和低维空间的一一对应性?那就是设计合适的测量矩阵(例如高斯随机矩阵),以及对高维向量施加稀疏性要求。PCA的核心是找出若干个向量能最大程度上逼近原始数据(简单说就是挑出最大的几个奇...

2020-03-26 12:40:41 680

原创 Bug:TypeError: can't convert CUDA tensor to numpy.

情况: 在对tensor进行计算时报错:TypeError: can't convert CUDA tensor to numpy. Use Tensor.cpu() to copy the tensor to host memory first.报错原因:不能直接对tensor变量进行array的运算;requires_grad=True时不能调用numpy()解决方法:...

2020-03-23 14:20:02 547

原创 卡方距离-Chi-square Distance

理解:https://blog.csdn.net/yuyuflyli/article/details/42834603/chi2_contingency与chisquare之间的区别:chi2_contingency:独立性检验chisquare:拟合度检验https://stats.stackexchange.com/questions/110718/chi-squared-te...

2020-03-23 13:52:20 1982

转载 深度学习:如何寻找最优学习率

转载:https://zhuanlan.zhihu.com/p/31424275

2020-03-19 16:49:09 470

转载 Pytorch学习:多标签分类

多标签数据的dataloader的写法参考转载自: https://discuss.pytorch.org/t/multi-label-classification-in-pytorch/905/7

2020-03-17 16:33:11 4683

转载 pytorch学习:准备自己的图片数据

转载自:https://www.cnblogs.com/denny402/p/7512516.html

2020-03-17 16:30:40 128

转载 FCN语义分割-训练自己的数据(依据VOC数据集的格式)

https://blog.csdn.net/Xiongchao99/article/details/79155449VOC数据集的理解:https://blog.csdn.net/PNAN222/article/details/81354633?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribu...

2020-03-06 14:31:24 1050

转载 Numpy之it = np.nditer(x, flags=['multi_index'], op_flags=['readwrite'])

https://blog.csdn.net/TeFuirnever/article/details/90311099?depth_1-utm_source=distribute.pc_relevant.none-task&utm_source=distribute.pc_relevant.none-task

2020-02-27 19:11:26 715

转载 AUC、ROC、ACC区别

很多时候我们都用到ROC(receiver operating characteristic curve,受试者工作特征曲线)和AUC(Area Under Curve,被定义为ROC曲线下的面积)来评判一个二值分类器的优劣,其实AUC跟ROC息息相关,AUC就是ROC曲线下部分的面积,所以需要首先知道什么是ROC,ROC怎么得来的。然后我们要知道一般分类器会有个准确率ACC,那么既然有了ACC,...

2020-02-25 11:07:31 2332

转载 用小样本数据集构建强大的图像分类模型---三种方式

转载自: https://zhuanlan.zhihu.com/p/42333072原出处: https://blog.keras.io/building-powerful-image-classification-models-using-very-little-data.html

2020-02-25 10:03:50 3600

转载 tensorflow-加载自定义图片数据集到Dataset

转载自:https://www.cnblogs.com/chenhuabin/p/11863889.html

2020-02-16 22:15:12 834

转载 Numpy中stack(),hstack(),vstack()函数详解

转载自:https://blog.csdn.net/csdn15698845876/article/details/73380803#commentBox

2020-02-13 13:35:42 155

转载 Tensorflow2.0— tf.dataset自定义图像数据集

转载自:https://blog.csdn.net/qq_41973343/article/details/103213366

2020-02-13 09:47:50 1391

原创 运行tensorflow代码,警告:The TensorFlow library wasn't compiled to use SSE3 instructions。

W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations.W tens...

2020-02-12 10:37:53 438

原创 下载“一直播”回放视频到我的Mac(通过FFmpeg下载网页中m3u8流媒体视频)

在Mac中安装FFmpeg(1)安装homebrew打开终端输入以下命令行:brew若不是上面的结果需要安装homebrew,需要终端输入命令:ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"备注:卸载homebrewbrew cle...

2020-02-10 11:14:27 2336

转载 机器学习——逻辑回归与多项逻辑回归

转载自:https://blog.csdn.net/YoYoDelphine/article/details/52888276

2020-02-04 11:15:14 515

转载 python学习——类中为什么要定义__init__()方法

学习Python的类,一直不太理解为什么一定要定义init()方法,现在简要谈一下自己的理解吧。1、不用init()方法定义类定义一个矩形的类,目的是求周长和面积。class Rectangle(): def getPeri(self,a,b): return (a + b)*2 def getArea(self,a,b): return a*...

2020-01-15 15:12:36 266

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除