kongkip commited on
Commit
be719e5
1 Parent(s): 8b8c024

added saved_model to allow loading from with huggingface hub pretrained models

Browse files
saved_model.pb ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:322fc851fd1221bf42dea330f2f93be3025e958b505ab51eda8c2ae86f7ab47a
3
+ size 3499342
utils/h5_to_saved_pb.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ import tensorflow as tf
2
+
3
+
4
+ model = tf.keras.models.load_model("tf_model.h5")
5
+
6
+ tf.saved_model.save(model, "")
variables/variables.data-00000-of-00001 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e3c27336aaecafd070749d833780e6603b9c25caf01a037c0ef9a93ff3b0c36c
3
- size 63405929
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d6d4a304371ff904a5863dcdbbb6527fa10ff9e454d9692dff80312008ff6e60
3
+ size 63451732
variables/variables.index CHANGED
Binary files a/variables/variables.index and b/variables/variables.index differ