How to output an image with a CNN?

别来无恙 提交于 2019-12-25 01:37:34

问题


I'm trying to do depth estimation with CNNs (this is my ultimate goal), but a problem that i found is: I just did image classifications with CNNs, using for example "CIFAR-10", "MNIST", "Cats vs Dogs", etc. To do depth estimation I need to output a new image (the NYUv2 dataset has the labeled images). So, I'll input an image like 256x256x3 and need to output another image with for example 228x228x3.

What I need to do? Can I just do the convolutions for a while and after that decrease the features maps and increase the dimension? Thanks

obs: I'm using Tensorflow 2.0

来源:https://stackoverflow.com/questions/59335245/how-to-output-an-image-with-a-cnn

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!