Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

模型裁剪问题 #121

Open
zhangshabao opened this issue Jan 22, 2021 · 0 comments
Open

模型裁剪问题 #121

zhangshabao opened this issue Jan 22, 2021 · 0 comments

Comments

@zhangshabao
Copy link

使用作者提供的模型,同时使用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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant