alex_bn_lee

导航

2021年9月7日 #

【660】TensorFlow 或者 keras 版本问题

摘要: 针对 tf2 里面没有 tf1 的相关函数,通过下面处理 tf.compat.v1 该代码就相当于是 tf1 了 举例: # tf2 直接写这个方法会报错 tf.compat.v1.image.resize_images 阅读全文

posted @ 2021-09-07 14:53 McDelfino 阅读(57) 评论(0) 推荐(0)

【659】DeConvNet 模型说明

摘要: [1] DeconvNet 模型说明 [2] github - dongmeixu/Keras-DeconvNet-Segmentation 模型结构图 实现代码:(二分类) from keras.models import Model from keras.layers import Input, 阅读全文

posted @ 2021-09-07 14:23 McDelfino 阅读(171) 评论(0) 推荐(0)