- 博客(153)
- 资源 (3)
- 收藏
- 关注
原创 cudart64_100.dll;cublas64_100.dll等没有找到的解决办法
cudart64_100.dll;cublas64_100.dll等没有找到的解决办法
2022-04-29 09:43:07 1223
原创 ValueError: some of the strides of a given numpy array are negative. This is currently not supported
ValueError: some of the strides of a given numpy array are negative. This is currently not supported
2022-04-23 10:14:31 878
原创 Pytorch错误:Torch not compiled with CUDA enabled
Pytorch错误:Torch not compiled with CUDA enabled
2022-04-11 20:35:01 415
原创 ImportError: TensorBoard logging requires TensorBoard with Python summary writer installed. This sho
ImportError: TensorBoard logging requires TensorBoard with Python summary writer installed.
2022-03-17 18:25:21 1776
原创 OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.
训练出错:OMP: Error #15: Initializing libiomp5md.dll, but found libiomp5md.dll already initialized.解决方案:import osos.environ["KMP_DUPLICATE_LIB_OK"]="TRUE"
2022-03-14 15:49:20 2159 2
原创 RuntimeError: (PreconditionNotMet) The third-party dynamic library (cublas64_102.dll;cublas64_10.dll
RuntimeError: (PreconditionNotMet) The third-party dynamic library (cublas64_102.dll;cublas64_10.dll
2022-03-14 11:08:15 3265
原创 小目标检测的数据增强------Stitcher和Mosaic效果对比
小目标检测的数据增强------Stitcher和Mosaic效果对比
2021-12-27 15:09:56 2267 4
原创 解决 RuntimeError: DataLoader worker (pid(s) 28632) exited unexpectedly 问题
将num_workers 修改为0
2021-12-09 09:32:16 2683 2
原创 2021-水下光学目标检测智能算法
改进cascade_rcnn:增加数据处理部分:mixup、cutmix、RandomCrop以及修改部分网络结构,结果有一点提升,但是提升不特别大。
2021-05-05 10:20:46 768 1
原创 2021-水下光学目标检测智能算法赛
比赛网址链接:https://www.heywhale.com/home/competition/605ab78821e3f6003b56a7d8 水下目标检测资源:https://github.com/wangdongdut/Underwater-Object-Detection首先看看原始数据集:1、直接拿原始数据训练,YOLOV4 线上:经过图像增强的视觉效果:采用cascade_rcnn_r50_fpn训练图像增强后的数据集,并删除数据集中水草“waterweeds”这一类.
2021-04-30 11:08:37 4137 21
原创 快速入门Pytorch
参考:https://mp.weixin.qq.com/s/u7fFDsGgMJDMM1B-MuCPQg(一)TensorsTensors张量是一种特殊的数据结构,它和数组还有矩阵十分相似。在Pytorch中,我们使用tensors来给模型的输入输出以及参数进行编码。Tensors除了张量可以在gpu或其他专用硬件上运行来加速计算之外,其他用法类似于Numpy中的ndarrays。如果你熟悉ndarrays,您就会熟悉tensor的API。如果没有,请按照这个教程,快速了解一遍API。# -*- co
2021-02-17 16:07:05 267
原创 ET.parse 报错:File “<string>“, line unknown ParseError: not well-formed (invalid token): line 4, colum
ET.parse 报错:File “”, line unknown ParseError: not well-formed (invalid token): line 4, colum问题读取XML文件报错:信息如下:File “”, line unknown ParseError: not well-formed (invalid token): line 4, column 39解决方案原:root = ET.parse("VOCdevkit/VOC2007/Annotations/"+i
2020-12-20 21:50:40 1200 1
原创 解决一个维度转换得问题:ValueError: Error when checking input: expected input_1 to have 4 dimensions, but got ar
ValueError: Error when checking input: expected input_1 to have 4 dimensions, but got array with shape (1, 512, 512)解决方案:test_img = cv2.cvtColor(test_img, cv2.COLOR_GRAY2BGR)出现问题原因:彩色图和灰度图之间得通道数问题...
2020-12-02 14:24:38 8956 1
原创 Tensorflow:UnknownError (see above for traceback): Failed to get convolution algorithm.
UnknownError (see above for traceback): Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.解决方案: #---------------------------------------------.
2020-11-03 10:13:08 346
原创 keras导入报错:ValueError: Error when checking input: expected conv2d_1_input to have 4 dimensions,
您定义的输入形状是单个样本的形状。而对于单个图像32*32的RGB图像,您应该返回一个形状(1,32,32,3)。也就是说输入应该是4维的,长,宽,通道三个维度外加一个图片数量维度,一张照片也应该是4维。...
2020-10-14 19:24:28 2521
原创 Tensorboard 1.13.1 时报错:OSError:[Errno 22] Invalid argument
路径:E:\Anaconda3\Lib\site-packages\tensorboardrun:tensorboard --logdir=dirpath --host=127.0.0.1
2020-10-14 19:24:15 145
原创 解决问题:RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available()
问题:RuntimeError: Attempting to deserialize object on a CUDA device but torch.cuda.is_available() is False. If you are running on a CPU-only machine, please use torch.load with map_location='cpu' to map your storages to the CPU.解决方案:model.load_state_
2020-10-10 12:04:19 2727
原创 问题:csv.Error: iterator should return strings, not bytes
原始的代码: with open('HEC.csv', 'rb') as file: reader = csv.DictReader(file) thpDict = [thp for thp in reader] print(str(thpDict))修改后的代码 with open('HEC.csv', 'r',encoding="utf-8") as file: reader = csv.DictReader(f
2020-10-08 09:31:15 328
原创 在Matlab安装Vlfeat
进入官方网页 http://www.vlfeat.org/1、下载vlfeat安装包 1.download vlfeat 2、安装,将下载的安装包放到某一个可以存放的位置,注意不能删除 2. Install, put the downloaded installation package in a place where it can be stored, and do not delete it 3、在matlab的命令窗口中,运行vl_setup命令 In the com...
2020-10-07 10:35:13 1589
原创 (使用工具)Matlab转C++
第一步:mex -setup C++coder第二步:MATLAB Coder欢迎界面然后点击上图中圆圈处,选择我们建立的函数文件,得到如下图选择建立的main.m文件,得到如下图在用matlab2016b生成代码时,老是出现这个问题:This assignment writes a 'double' value into a 'uint8' type. Code generation does not support changing types t
2020-09-24 11:22:01 2464
原创 基于Mask-RCNN的版面分析
数据集:PubLayNet训练:code:import osimport sysimport randomimport torchimport torchvisionfrom torchvision.models.detection.faster_rcnn import FastRCNNPredictorfrom torchvision.models.detection.mask_rcnn import MaskRCNNPredictorfrom torchvision.
2020-09-02 16:28:22 1311 3
原创 解决问题:AssertionError: Torch not compiled with CUDA enabled
error:Traceback (most recent call last): File "C:/Users/Administrator/Desktop/PubLayNet-maskrcnn/PubLayNet/maskrcnn/infer.py", line 117, in <module> main() File "C:/Users/Administrator/Desktop/PubLayNet-maskrcnn/PubLayNet/maskrcnn/infer.py
2020-09-02 16:16:09 30411 38
原创 labelImg 的安装
pip install labelImg -i https://pypi.tuna.tsinghua.edu.cn/simpleCMD 输入:labelImg
2020-09-02 16:06:13 231
原创 AI 版面分析
文档版面分析:输出文档图片中图、表、标题、文本的位置和文本信息Document layout analysis: Output the position and text information of the graph, table, title, text in the document picture在传统的文档OCR识别技术中,算法会先分析图片中有几个布局区域,然后分析出水平横向文字,竖向垂直文字,表格和配图照片等区域,然后在针对各自的特点进行切分字符,保留区域类型,进行OCR识别调整;所以可
2020-09-02 15:25:36 1137
原创 灰度共生矩阵----提取纹理信息
前段时间一直在出差,各处跑,没有多少时间写博客;灰度共生矩阵(GLDM)的统计方法是20世纪70年代初由R.Haralick等人提出的,它是在假定图像中各像素间的空间分布关系包含了图像纹理信息的前提下,提出的具有广泛性的纹理分析方法。The statistical method of grayscale symbiosis matrix (GLDM) was proposed by R.Haralick et al., in the early 1970s. It is a generalized
2020-08-30 16:59:12 1974
原创 C++ opencv连续旋转 图像变小问题
问题:在连续旋转一个角度的时候,图像一直会被压缩变小。Problem: The image is compressed and reduced all the time when it is rotated continuously by an Angle.原因:由于我每次操作的图像是上一次旋转后的结果后,矩阵运算后,会有一定的误差。修改为每次只操作原图。Reason: Since the image I operate each time is the result of the last
2020-08-07 11:22:13 463
原创 2020-08-06 pythong根据实验数据绘制曲面
codefrom matplotlib import pyplot as pltimport numpy as npfrom mpl_toolkits.mplot3d import Axes3Dfig = plt.figure()ax = Axes3D(fig)# 数据录入X = np.array([3,4,5,6,7,8,9,10])Y = np.array([1596,1196,798,624,416,208])X, Y = np.meshgrid(X, Y)print("网
2020-08-06 22:39:07 285
Local Self-Similarities 图像配准
2019-08-27
Local-Self-Similarities
2019-08-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人