整理记载
dataijidexiaozi
这个作者很懒,什么都没留下…
展开
-
找jar包的网站
MavenRepository原创 2021-03-28 21:58:13 · 160 阅读 · 0 评论 -
android keras训练模型 固化h5模型 转化为tflite格式
1.将keras训练的模型转化为tflite模型import tensorflow as tfimport pathlibexport_dir = '/content/drive/My Drive/colab/test/middleReport/myuse'# tf.saved_model.save(model, export_dir)tf.saved_model.save(my_model, export_dir)#转换模型。# converter = tf.lite.TFLiteConv原创 2021-03-27 22:58:42 · 629 阅读 · 0 评论 -
混淆矩阵错误
print(confusion_matrix(Y_test.argmax(axis=1), predict.argmax(axis=1)))原创 2020-10-03 10:04:21 · 635 阅读 · 0 评论 -
贪婪算法-投飞镖刺破气球(3)
用最少数量的箭引爆气球在二维空间中有许多球形的气球。对于每个气球,提供的输入是水平方向上,气球直径的开始和结束坐标。由于它是水平的,所以y坐标并不重要,因此只要知道开始和结束的x坐标就足够了。开始坐标总是小于结束坐标。平面内最多存在104个气球。一支弓箭可以沿着x轴从不同点完全垂直地射出。在坐标x处射出一支箭,若有一个气球的直径的开始和结束坐标为 xstart,xend, 且满足 xstart ≤ x ≤ xend,则该气球会被引爆。可以射出的弓箭的数量没有限制。 弓箭一旦被射出之后,可以无限地前.原创 2020-08-06 15:48:36 · 296 阅读 · 0 评论 -
maven项目整理
myeclipsemaven安装和更改本地仓库位置以及关联myeclipse,创建一个maven项目已解决:Eclipse创建Maven项目报“Could not resolve archetype org.apache.maven.archetypes:maven-archetype-web”错误原创 2020-07-27 18:29:58 · 98 阅读 · 0 评论 -
keras 解决keras中Graphviz报错问题
软件结合以下博客解决win10+python3,keras可视化pydot和graphviz安装后仍然报错的问题InvocationException: GraphViz’s executables not found的解决方法InvocationException: GraphViz’s executables not found 解决方案Failed to import pydot. You must install pydot and graphviz for pydotprint to w原创 2020-06-01 19:57:34 · 254 阅读 · 0 评论