v4 = inception_v4.create_model(weights='imagenet')
predictions = Flatten()(v4.layers[-4].output)
Training a dense layer from bottleneck features vs. freezing all layers but the last - should be the same, but they behave differently