你要的答案或许都在这里:小鹏的博客目录
MachineLP的Github(欢迎follow):https://github.com/MachineLP
具体的修改可以参考这里:https://github.com/jon-sch/tensorflow/pull/3/files
另外的实现可以看这里:https://github.com/yselivonchyk/Tensorflow_WhatWhereAutoencoder/blob/master/WhatWhereAutoencoder.py
复制代码
1
2
3
4
5
6
7import tensorflow as tf import numpy as np def max_pool(inp, k=2): return tf.nn.max_pool_with_argmax_and_mask(inp, ksize=[1, k, k, 1], strides=[1, k, k, 1], padding="SAME") def max_unpool(inp, argma
最后
以上就是欢喜星星最近收集整理的关于tensorflow中的上采样(unpool)和反卷积(conv2d_transpose)的全部内容,更多相关tensorflow中内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复