fast-style-transfer 图像滤镜

网址:https://github.com/floydhub/fast-style-transfer


 


 

对于错误:

Traceback (most recent call last):

File “evaluate.py”, line 267, in <module>

main()

File “evaluate.py”, line 264, in main

batch_size=opts.batch_size)

File “evaluate.py”, line 147, in ffwd

preds = transform.net(img_placeholder)

File “src/transform.py”, line 14, in net

conv_t1 = _conv_tranpose_layer(resid5, 64, 3, 2)

File “src/transform.py”, line 38, in _conv_tranpose_layer

tf_shape = tf.pack(new_shape)

AttributeError: ‘module’ object has no attribute ‘pack’


 

修改src/transform.py”, line 14, 将tf.pack 替换成 tf.stack

发表评论

电子邮件地址不会被公开。 必填项已用*标注