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

[Pruning] Error message when tf.keras model object is not passed #166

Closed
alanchiao opened this issue Dec 3, 2019 · 1 comment
Closed
Assignees
Labels
feature request feature request technique:pruning Regarding tfmot.sparsity.keras APIs and docs

Comments

@alanchiao
Copy link

alanchiao commented Dec 3, 2019

See the following issues to see the confusion the lack of an error message creates.
#12 (comment)
#164 (comment)
#164 (comment)

Until minimal subclassed model support is provided, the error message should suggest that
the passed in object must be an instance of a Sequential or Functional model.

@alanchiao
Copy link
Author

alanchiao commented Dec 5, 2019

Completed in this commit. It will not be available until the next release (0.2.0).

@alanchiao alanchiao added the technique:pruning Regarding tfmot.sparsity.keras APIs and docs label Feb 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request feature request technique:pruning Regarding tfmot.sparsity.keras APIs and docs
Projects
None yet
Development

No branches or pull requests

1 participant