上一页 1 ··· 66 67 68 69 70 71 72 73 74 ··· 341 下一页
摘要: RNN 循环神经网络, 转自 https://blog.csdn.net/weixin_46969441/article/details/121584330 循环神经网络 循环核: 参数时间共享,循环层 提取时间信息。下图是一个记忆体:存储 每个时刻状态的信息设定 记忆体 个数改变 记忆体 容量当记 阅读全文
posted @ 2023-02-16 21:56 emanlee 阅读(252) 评论(0) 推荐(0)
摘要: import numpy as np num_train = 10 indices = list(range(num_train)) print(indices) print(len(indices)) np.random.seed(2) np.random.shuffle(indices) pri 阅读全文
posted @ 2023-02-16 20:46 emanlee 阅读(193) 评论(0) 推荐(0)
摘要: 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 阅读(918) 评论(0) 推荐(0)
摘要: 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 阅读(126) 评论(0) 推荐(0)
摘要: 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 阅读(516) 评论(0) 推荐(0)
摘要: 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 阅读(439) 评论(0) 推荐(0)
摘要: 当使用python的matplotlib包的时候, 我们可以使用legend命令来绘制图示. legend命令的可配置参数具体可见此处(https://matplotlib.org/3.3.2/api/_as_gen/matplotlib.pyplot.legend.html):这里, 讨论是否将图 阅读全文
posted @ 2023-02-13 21:58 emanlee 阅读(283) 评论(0) 推荐(0)
摘要: 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 阅读(302) 评论(0) 推荐(0)
摘要: 绝对路径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 阅读(71) 评论(0) 推荐(0)
摘要: 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 阅读(1853) 评论(0) 推荐(0)
上一页 1 ··· 66 67 68 69 70 71 72 73 74 ··· 341 下一页