tensorflow 自测题

1. 全卷机网络,对于如下输入站位, 请问batch可以指定为None吗, 宽高可以指定为None吗, channel可以指定为 None吗?:

self.input_image = tf.placeholder(tf.float32, [1, None, None, 3])

batch, width, height,可以指定为None, channel不可以,必须为确定的数字,因为要确定第一层的参数。

2.如果使用conda, 在一个env里面安装tensorflow, 依赖的cuda与系统里面装的不一致怎么办?

   使用conda install cudatoolkit=9.2这样,然后conda install cudnn,自动匹配cuda对应的cudnn版本

发布了159 篇原创文章 · 获赞 55 · 访问量 36万+

猜你喜欢

转载自blog.csdn.net/northeastsqure/article/details/103595093
今日推荐