自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Jmeter if 控制器报错Expected an operand but found

在 if 控制器中,勾选 Interpret Condition as Variable Expression?选项,确保 JMeter 能够正确解析 ${} 语法。然后问题解决,不再报错。

2025-02-27 10:19:53 379

原创 【python】TypeError NoneType object is not subscriptable

‘NoneType’ object is not subscriptable出错的位置:if thickness[0] is None: print ("cannot estimate the slice thickness!")错误原因是:我本来想得到的thickness是个list,但因为某些原因查看发现计算得到的thickness是None,所以它无所谓索引,没有None[0]。改正:if thickness is None: print ("cannot estimate

2020-06-16 12:11:16 6082

原创 -210Unsupported format or combination of formats,in function cv,moments

(-210:Unsupported format or combination of formats) in function ‘cv::moments’原始程序报错部分:from cv2 import moments #计算外边缘质心 M = cv2.moments(outer_edge+0) center_x = int(M["m10"] / M["m00"]) center_y = int(M["m01"] / M["m00"])这是因为moments()函数输入必须为array类型,且其中元

2020-06-11 12:14:13 1954 1

空空如也

空空如也

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

TA关注的人

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