style-transfer
style-transfer copied to clipboard
Cannot run
@singlasahil14 Receiving:
TypeError: Fetch argument odict_values([<tf.Tensor 'mul:0' shape=(?, ?, ?, 64) dtype=float32>, <tf.Tensor 'mul_1:0' shape=(?, ?, ?, 64) dtype=float32>, <tf.Tensor 'mul_2:0' shape=(?, ?, ?, 64) dtype=float32>, <tf.Tensor 'mul_3:0' shape=(?, ?, ?, 128) dtype=float32>, <tf.Tensor 'mul_4:0' shape=(?, ?, ?, 128) dtype=float32>, <tf.Tensor 'mul_5:0' shape=(?, ?, ?, 128) dtype=float32>, <tf.Tensor 'mul_6:0' shape=(?, ?, ?, 256) dtype=float32>, <tf.Tensor 'mul_7:0' shape=(?, ?, ?, 256) dtype=float32>, <tf.Tensor 'mul_8:0' shape=(?, ?, ?, 256) dtype=float32>, <tf.Tensor 'mul_9:0' shape=(?, ?, ?, 256) dtype=float32>, <tf.Tensor 'mul_10:0' shape=(?, ?, ?, 512) dtype=float32>, <tf.Tensor 'mul_11:0' shape=(?, ?, ?, 512) dtype=float32>, <tf.Tensor 'mul_12:0' shape=(?, ?, ?, 512) dtype=float32>, <tf.Tensor 'mul_13:0' shape=(?, ?, ?, 512) dtype=float32>, <tf.Tensor 'mul_14:0' shape=(?, ?, ?, 512) dtype=float32>, <tf.Tensor 'mul_15:0' shape=(?, ?, ?, 512) dtype=float32>, <tf.Tensor 'mul_16:0' shape=(?, ?, ?, 512) dtype=float32>, <tf.Tensor 'mul_17:0' shape=(?, ?, ?, 512) dtype=float32>]) has invalid type <class 'odict_values'>, must be a string or Tensor. (Can not convert a odict_values into a Tensor or Operation.)
when running: python slow_style.py --style-path data/style/wave.jpg --content-path data/content/stata.jpg --result-path test-slow/
In case this helps anyone else, if you encounter this error, it's that you need to use python2.7.