自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 AttributeError: ‘Text‘ object has no property ‘FontProperties‘

不知道有人出没出现我这个问题,加上我之前说的一大堆方式之后,不是字体不识别变成方框,而是直接报错。看看你是不是想在pycharm里面输出图片呢?如果是的话,换到tensorflow里面输出就好了,估计你引用的那些库都是通用的吧。...

2022-04-04 20:50:50 1955

原创 UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xc9 in position 0: invalid continuation byte

可爱又迷人的bug意思是这个工作encoding='utf-8'干不了了,换上下面一位大哥:encoding='unicode_escape'解决。

2022-04-04 20:47:27 2293

原创 python图片中文汉字标注乱码,变成方框

当你出现乱码试了网上多种方式还是改不好时,看看这位大哥的方法 ,抱拳了:(1条消息) Python matplotlib pyplot中title() xlabel() ylabel()无法显示在中文(方框乱码)的解决办法_GarfieldEr007的博客-CSDN博客...

2022-03-18 20:55:40 1379

转载 Output tensors of a Functional model must be the output of a TensorFlow `Layer` (thus holding past

继续遇到错误,改正错误,错误如题。参考链接:python - ValueError: Output tensors of a Functional model must be the output of a TensorFlow `Layer` (thus holding past layer metadata) - Stack Overflow大概什么意思呢,就是说你应该先定义好函数,再把参数什么的传过来。照着这里的代码定义个函数,后续在主函数中再继续调用等等。def Compute..

2022-03-16 16:48:35 1865

原创 AttributeError: ‘Tensor‘ object has no attribute ‘lower‘

Debug进行时,错误代码如题所示。、问题出使用GlobaleAveragePooling2D,我写成了GlobaleAveragePooling2D(net)net就是定义的、要进行最大均值池化的模型。但这样是不行的,有两个解决办法:1. 先定义GlobalAP=GlobaleAveragePooling2D()然后再x=GlobalAP(net)2.直接GlobaleAveragePooling2D()(net)...

2022-03-15 23:07:00 2900

原创 cv_lgm() missing 1 required positional argument: ‘verbose‘

深度学习小白,记录自己代码学习以及debug过程的点点滴滴。今天在做分类任务的时候,用到了贝叶斯参数优化,出现的错误如下:Traceback (most recent call last): File "D:\Anaconda3\lib\site-packages\bayes_opt\target_space.py", line 191, in probe target = self._cache[_hashable(x)]KeyError: (0.80126443575563...

2022-03-14 17:07:18 944 1

空空如也

空空如也

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

TA关注的人

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