
问题日志
濯君
求知,内敛,有趣,勤静
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
2020-8 问题日志
2020-8-8makefile中的notdir,wildcard和patsubstLinux GCC常用命令C编译: makefile基础原创 2020-08-08 11:46:05 · 147 阅读 · 0 评论 -
2020-6问题日志
6-8 TensorFlow estimator的基本使用,train, validation, predict原创 2020-06-08 16:39:26 · 258 阅读 · 0 评论 -
2020-5 问题日志
5-8 c++中如何在主函数中调用其他文件内的函数?原创 2020-05-11 17:15:36 · 161 阅读 · 0 评论 -
2020-4 问题日志
4-11 centos安装 c++版opencvc++ OpenCV入门教程:图片读取和它的基本操作以及能获取的图片属性原创 2020-04-11 10:30:54 · 182 阅读 · 0 评论 -
keras save model every epoch
filepath = "saved-model-{epoch:02d}-{val_acc:.2f}.h5"#模型写入名字带dict的epoch,val_acc,还可以是val_losscheckpoint = ModelCheckpoint(filepath, monitor='val_acc', verbose=1, save_best_only=False, mode='max')参考1...原创 2020-03-17 08:32:56 · 524 阅读 · 0 评论 -
AttributeError: 'Tensor' object has no attribute '_keras_history'
一:第一种可能,使用keras使用+而不是使用add。二:keras中定义的tensor和tensorflow(theano)当中给的tensor类型是不同的。需要使用Lambda层进行转换,比如下面的from keras import backend as Kabs_x = K.abs(conv_2)直接用K.abs会报错,换成下面这种方式就不会报错from keras.layer...原创 2020-03-13 18:56:43 · 1358 阅读 · 0 评论 -
2020-3 问题日志
3.12AttributeError: module ‘tensorflow.python.keras.backend’ has no attribute ‘get_graph’Use keras bundled within Tensorflow as suggested by @emikulic solves the problemReplacefrom keras import ba...原创 2020-03-12 21:48:25 · 128 阅读 · 0 评论