Without changing these indexes, the program will meet some errors.I think this may be caused by the change of VGG model downloaded from the website mentioned in READMD.md or something else like this.What's more,b = vgg_layers[0][layer][0][0][2][0][1] will return a numpy.ndarray of shape (1,None),so I decided to use b = tf.constant(b.T) in the code.
Here is my test code to find out what vgg_layers looks like:
Without changing these indexes, the program will meet some errors.I think this may be caused by the change of VGG model downloaded from the website mentioned in READMD.md or something else like this.What's more,b = vgg_layers[0][layer][0][0][2][0][1] will return a numpy.ndarray of shape (1,None),so I decided to use b = tf.constant(b.T) in the code. Here is my test code to find out what vgg_layers looks like: