keras_to_tensorflow
keras_to_tensorflow copied to clipboard
Is .pb going to be faster than .h5?
Hi all, based on your experiences, is the converted pb model going to be faster than the h5 model during inference? I tested on my CPU and it shows pb model is about 20% slower than the h5 model.
This is just converting the keras model to tensorflow with no substantial change to the structure. However, given that redundant nodes are being pruned, I expect the tensorflow model to be faster. I am surprised that was not the case.