在火炬(lua)中可视化中间层中的图像 [英] Visualize images in intermediate layers in torch (lua)

查看:134
本文介绍了在火炬(lua)中可视化中间层中的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在conv-neets模型中,我知道如何可视化过滤器,我们可以做itorch.image(模型:get(1).weight)

In the conv-nets model, I know how to visualize the filters, we can do itorch.image(model:get(1).weight)

但是如何在卷积后有效地可视化输出图像?尤其是深层神经网络中第二层或第三层的图像?

But how could I efficiently visualize the output images after the convolution? especially those images in the second or third layer in a deep neural network?

谢谢。

推荐答案

与体重相似,您可以使用:

Similarly to weight, you can use:

itorch.image(model:get(1).output)

这篇关于在火炬(lua)中可视化中间层中的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆