会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
首页
新随笔
订阅
管理
上一页
1
···
70
71
72
73
74
75
76
77
78
···
313
下一页
2023年2月16日
NotImplementedError: Cannot convert a symbolic Tensor (sequential_1/simple_rnn_1/strided_slice:0) to a numpy array.
摘要: model.fit NotImplementedError: Cannot convert a symbolic Tensor to a numpy array. Epoch 1/100 NotImplementedError Traceback (most recent call last) Ce
阅读全文
posted @ 2023-02-16 20:01 emanlee
阅读(928)
评论(0)
推荐(0)
2023年2月15日
InvalidArgumentError: assertion failed: [0] [Op:Assert] name: EagerVariableNameReuse
摘要: InvalidArgumentError Traceback (most recent call last) Cell In[2], line 32 25 y_train = np.array(y_train) 27 model = tf.keras.Sequential([ 28 SimpleRN
阅读全文
posted @ 2023-02-15 23:56 emanlee
阅读(137)
评论(0)
推荐(0)
AttributeError: module 'tensorflow._api.v1.random' has no attribute 'set_seed'
摘要: AttributeError Traceback (most recent call last) /tmp/ipykernel_23207/1672961205.py in <module> 18 np.random.seed(7) 19 np.random.shuffle(y_train) > 2
阅读全文
posted @ 2023-02-15 23:37 emanlee
阅读(533)
评论(0)
推荐(0)
word 无法显示该图片
摘要: word 无法显示该图片, 这个bug 怎么解决? 在word中贴了大量图,现在都无法显示了。 https://support.microsoft.com/en-us/office/support-for-pict-images-is-being-turned-off-in-office-for-w
阅读全文
posted @ 2023-02-15 20:14 emanlee
阅读(466)
评论(0)
推荐(0)
2023年2月13日
matplotlib中图示的参数设置
摘要: 当使用python的matplotlib包的时候, 我们可以使用legend命令来绘制图示. legend命令的可配置参数具体可见此处(https://matplotlib.org/3.3.2/api/_as_gen/matplotlib.pyplot.legend.html):这里, 讨论是否将图
阅读全文
posted @ 2023-02-13 21:58 emanlee
阅读(321)
评论(0)
推荐(0)
2023年2月11日
pillow ImageFont.truetype OSError: cannot open resource
摘要: from PIL import ImageFont, ImageDraw# 导入中文字体,指定字体大小font = ImageFont.truetype('SimHei.ttf', 50) OSError Traceback (most recent call last) /tmp/ipykerne
阅读全文
posted @ 2023-02-11 21:04 emanlee
阅读(316)
评论(0)
推荐(0)
python路径 目录 文件夹
摘要: 绝对路径1、os.path 方法import osimport syscurrent_directory = os.path.dirname(os.path.abspath(__file__))print(current_directory) 2、os.path.abspath 方法import o
阅读全文
posted @ 2023-02-11 20:28 emanlee
阅读(88)
评论(0)
推荐(0)
matplotlib 中文字体 汉字
摘要: matplotlib 中文字体测试 wget https://zihao-openmmlab.obs.cn-east-3.myhuaweicloud.com/20220716-mmclassification/dataset/SimHei.ttf # /home/software/anaconda3
阅读全文
posted @ 2023-02-11 20:24 emanlee
阅读(1926)
评论(0)
推荐(0)
2023年2月3日
original_keras_version = f.attrs['keras_version'].decode('utf8') 'str' object has no attribute 'decode'
摘要: AttributeError Traceback (most recent call last)/tmp/ipykernel_13758/2975874631.py in <module> > 1 ft_model.load_weights('./saved_models/D8.v8.h5') 2
阅读全文
posted @ 2023-02-03 22:38 emanlee
阅读(243)
评论(0)
推荐(0)
Keras compile loss metrics
摘要: The purpose of loss functions is to compute the quantity that a model should seek to minimize during training. https://tensorflow.google.cn/api_docs/p
阅读全文
posted @ 2023-02-03 22:00 emanlee
阅读(83)
评论(0)
推荐(0)
上一页
1
···
70
71
72
73
74
75
76
77
78
···
313
下一页