question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create ability to push tf.Module inside Keras Mixin

See original GitHub issue

We 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:open
  • Created a year ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
merveenoyancommented, Jun 6, 2022

@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 @osanseviero

0reactions
naterawcommented, Oct 3, 2022

I 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. ❤️

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found