上一页 1 ··· 63 64 65 66 67 68 69 70 71 ··· 338 下一页
摘要: 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 阅读(123) 评论(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 阅读(501) 评论(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 阅读(422) 评论(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 阅读(257) 评论(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 阅读(295) 评论(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 阅读(61) 评论(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 阅读(1817) 评论(0) 推荐(0)
摘要: 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 阅读(219) 评论(0) 推荐(0)
摘要: 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 阅读(57) 评论(0) 推荐(0)
摘要: 一个坑:pybedtools 使用和不用saveas 会导致结果不同,有时saveas 或 count 就会清空数据。 It looks like filter function doesn't return a BedTool object ready to use. a = pybedtools 阅读全文
posted @ 2023-02-03 10:15 emanlee 阅读(79) 评论(0) 推荐(0)
上一页 1 ··· 63 64 65 66 67 68 69 70 71 ··· 338 下一页