Create ability to push tf.Module inside Keras Mixin
See original GitHub issueWe should be able to push models made with tf.Module
without writing a mixin from scratch by adding capabilities to understand if a model is tf.Module
or not and saving them with model.save()
instead of existing saving mechanism.
Pinging @ariG23498 and @nateraw here 😃
See this model as an example.
Issue Analytics
- State:
- Created a year ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Using tf.keras.layers with keras.model - Stack Overflow
When I try to do that with my own models... it does not work! If you examine the resnet sourcecode for Resnet50.py, they...
Read more >Making new Layers and Models via subclassing - TensorFlow
import tensorflow as tf from tensorflow import keras. The Layer class: the combination of state (weights) and some computation.
Read more >Source code for transformers.modeling_tf_utils - Hugging Face
[docs]class TFModelUtilsMixin: """ A few utilities for :obj:`tf.keras.Model`, to be used as a mixin. """ ... [docs]class TFMaskedLanguageModelingLoss( ...
Read more >Installing Keras with TensorFlow backend - PyImageSearch
In this tutorial I demonstrate how to install the Keras Python library ... to rapidly build, test, and deploy deep learning architectures.
Read more >keras.pdf - The Comprehensive R Archive Network
Main Keras module. Description. The keras module object is the equivalent of keras <- tensorflow::tf$keras and provided mainly as a convenience. Usage keras....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ariG23498 I think instead of
else
we can just check if it’s a Keras model to make it more robust, sort of. I’d like to ping other folks for discussion as well @nateraw @osansevieroI don’t see huge need for it, but will let others chime in, as I’ve been a bit separated from the Keras work as of late. ❤️