自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 mmsegmentation CUDA kernel errors might be asynchronously reported at some other API call

mmsegmentation 不同网络adk20数据集改用VOC数据集时,出现错误:correct = correct[:, target != ignore_index]RuntimeError: CUDA error: an illegal memory access was encounteredCUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below m

2023-03-26 20:19:40 672

转载 EIseg 的JSON 转其他mask颜色

EIseg的JSON文件转其他mask颜色

2022-12-07 15:34:35 191

原创 python修改xml 中的类别名

特别注意:修改类别名后,要更新树目录(updateTree.write(xml_path) # 更新树目录【否则修改无效】)# 文件导入import numpy as np import cv2 import os import matplotlib.pyplot as plt import time import os.path as osp import shutilimport xml.etree.ElementTree as ETrootpath = './VOC20

2021-08-29 15:54:56 238

原创 采用中间变量解决eval()表达式中本身含字符串

%采用中间变量解决eval()表达式中本身含字符串%T_FN1 = readtable(filename_read,‘Range’,‘C3:N30’,‘Sheet’,Sheet_Read)filename_read = ‘V1.xlsx’Sheet_Read =1Range_R = { ‘C3:N30’ ‘R3:AC30’ ‘AG3:AR30’ ‘C33:N63’ ‘R33:AC63’ ‘AG33:AR63’}Range_R(1)%采用中间变量解决eval()表达式中本身含字符串for i_n

2021-08-08 16:32:45 210

转载 获取intel D435i 深度图像的深度距离单位

# Retrieves mapping between the units of the depth image and meters.pipeline = rs.pipeline()config = rs.config()profile = pipeline.start(config)# 返回深度单位depth_sensor = profile.get_device().first_depth_sensor()depth_scale = depth_sensor.get_depth_scale

2021-07-07 10:06:07 1299

原创 win10环境 Yolov5 + pytorch 运行成功

YOVOv5 + pytorch + Vscode Win10环境实现下载yolov5(https://github.com/ultralytics/yolov5),直接放到VScode_yolov5文件夹中【测试成功】git clone https://github.com/ultralytics/yolov5文件目录:data\images(自己添加,图片素材在yolov5\data\images)yolov5(直接下载解压得到)yolov5s.pt(运行yolov5\detect.py

2021-06-15 16:41:49 442

原创 matlab 多次重复测量试验数据非线性拟合 fitnlm 求解 R2、RSOS、RMSE、BIC、AIC、P值

matlab 多次重复测量试验数据非线性拟合 fitnlmfitnlm 方法查matlab官网,案例齐全且权威方法:和单次测量一致 (仅数据排布理解一下就好,直接读取数据即可处理,树龄为x (a字符去掉,也可自己生成序列数据), 胸径为y)。...

2020-08-01 09:05:49 3288

原创 STM32F1/F4(读IO口信号,即便已经上拉或下拉) 限位信号总是不稳定

STM32F1/F4(读IO口信号,即便IO端口已经上拉或下拉) 限位信号总是不稳定,导致电机控制异常解决方法:加入延时 (方法类似于KEY防抖操作)while(State_UpperLimit==1){HAL_Delay(10);//添加延时,防信号不稳while(State_UpperLimit==1)//其他电机执行代码}...

2020-07-21 10:57:44 827 1

原创 STM32F1/F4 编码器的读数值出现混乱异常或者突然变得很大

增加IC2Filter滤波处理sEncoderConfig_TG04.IC2Filter = 15; // Specifies the input capture filter.设置编码器所用定时器的输入捕获滤波==解决外部抖动或干扰导致编码器的值出现混乱或者突变(硬石电机—读编码器值出现的问题;例程参考硬石STM32资料http://www.ing10bbs.com/forum.php?mod=viewthread&tid=1458&extra=page%3D1

2020-07-07 09:57:21 5073

原创 Tensorflow2.0 Keras加载数据集的时候,出现报错,显示:offset must be non-negative and no greater than buffer length

@TOCfashion_mnist = keras.datasets.fashion_mnist(x_train_all,y_train_all),(x_test,y_test) = fashion_mnist.load_data()问题:加载数据集的时候,出现报错,显示:offset must be non-negative and no greater than buffer lengt...

2020-03-10 14:41:11 2694 2

空空如也

空空如也

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

TA关注的人

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