Amir Abdi

Results 37 comments of Amir Abdi

@dalvlv I added a new feature in the new commit to master branch. It exposes the `quantize` feature of tensorflow. I tested some small networks, and the size of the...

@dalvlv This is a new feature of tensorflow and you need to a newer version. I have tested with 1.5, so 1.5 or higher works. https://www.tensorflow.org/performance/quantization

@dalvlv I experienced the same "model size not changing" issue. I assumed maybe my models are not big enough for quantization to take effect. Based on your input, freezing first...

From what I remember, there were different approaches to save a model, one of which is using the SavedModel api of tensorflow. In this case, a `variables` directory will be...

Your model has custom layers. You need to pass the custom objects to the load_model command. Check this issue: https://github.com/fizyr/keras-retinanet/issues/86

`set_image_data_format` is well-documented here: [keras.io](https://keras.io/backend/) Which Keras version are you using? I wonder if you have not updated your Keras library for quite some time. Try updating it and test...

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...

@tuji-sjp Sorry for the late response. I don't have any solutions from the top of my mind. Please share the keras model you were trying to convert (I assume that...

It just means that the installed keras library doesn't know a particular layer. Add something like before loading the model: custom_objects={"GlorotUniform": tf.keras.initializers.glorot_uniform}

Check this thread: https://github.com/tensorflow/tfjs/issues/798