Open cirolin opened 8 years ago
You might not have libjpeg installed, so read_image could come back with an empty thing -- try it with PNGs?
I think I got the same problem, but still cannot deal with it.
python neural-art-tf.py -m vgg -c ./images/sd.jpg -s ./images/style.jpg -w 800
Read images...
Traceback (most recent call last):
File "neural-art-tf.py", line 12, in
$ python neural-art-tf.py Read images... Traceback (most recent call last): File "neural-art-tf.py", line 12, in
content_image = read_image(content_image_path, width)
File "/home/cirolin/neural-art-tf-master/utils.py", line 23, in read_image
r = w / np.float32(img.shape[0])
IndexError: tuple index out of range