Keras
astronomy
mervess commited on
Commit
33bcd09
·
verified ·
1 Parent(s): 3e3ffde

Update README.md

Browse files

Starting code to load the model is added.

Files changed (1) hide show
  1. README.md +10 -1
README.md CHANGED
@@ -56,7 +56,16 @@ This modelcard aims to be a base template for new models. It has been generated
56
 
57
  Use the code below to get started with the model.
58
 
59
- [More Information Needed]
 
 
 
 
 
 
 
 
 
60
 
61
  ## Training Details
62
 
 
56
 
57
  Use the code below to get started with the model.
58
 
59
+ ```python
60
+ # load TF-Keras
61
+ from tensorflow.keras.saving import load_model
62
+ # load the custom layer
63
+ from .filters import GaussianFilter
64
+
65
+ model = load_model('fcd.keras',
66
+ custom_objects={'GaussianFilter': GaussianFilter},
67
+ compile=False)
68
+ ```
69
 
70
  ## Training Details
71