0%

1
2
3
4
5
6
7
8
9
10
11
12
def UnPooling2x2ZeroFilled(x):
# ('>>> x', TensorShape([Dimension(2), Dimension(16), Dimension(16), Dimension(256)]))
out = tf.concat(axis=3, values=[x, tf.zeros_like(x)])
out = tf.concat(axis=2, values=[out, tf.zeros_like(out)])

sh = x.get_shape().as_list()
if None not in sh[1:]:
out_size = [-1, sh[1] * 2, sh[2] * 2, sh[3]]
return tf.reshape(out, out_size)
else:
sh = tf.shape(x)
return tf.reshape(out, [-1, sh[1] * 2, sh[2] * 2, sh[3]])

RuntimeError: argument 1 (padding) must be tuple of int but got tuple of (float, float)

python3降级到python2

1
conda install --offline C:\pymc-2.3.5-np110py35_0.tar.bz2

在sshfs 2个文件夹的时候会发现第二个会代替第一个。

最后弄好的方法是:
复制命令然后

使用了net = torch.nn.DataParallel(net)后会多一个module
如果没使用这个,就会少一个module.