huoyijie / AdvancedEAST

AdvancedEAST is an algorithm used for Scene image text detect, which is primarily based on EAST, and the significant improvement was also made, which make long text predictions more accurate.https://github.com/huoyijie/raspberrypi-car
https://huoyijie.cn/
MIT License
1.23k stars 380 forks source link

模型裁剪问题 #121

Open zhangshabao opened 3 years ago

zhangshabao commented 3 years ago

使用作者提供的模型,同时使用tensorflow中的模型优化包对模型进行裁剪,但是出现如下错误: prune_low_magnitude can only prune an object of the following types: tf.keras.models.Sequential, tf.keras functional model, tf.keras.layers.Layer, list of tf.keras.layers.Layer. You passed an object of type: Model.