dsrestrepo commited on
Commit
bd9bee9
1 Parent(s): 51f2ec8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +12 -0
README.md CHANGED
@@ -11,6 +11,18 @@ The model was trained using bands RGB (2, 3 and 4) (Red, Green and Blue) of the
11
 
12
  The input shape of the model is 224, 224, 3. To extract features you should remove the last layer.
13
 
 
 
 
 
 
 
 
 
 
 
 
 
14
  ## Intended uses & limitations
15
 
16
  The model was trained with images of 81 different cities in Colombia, however it may require fine tuning or retraining to learn from other contexts such as countries and other continents.
 
11
 
12
  The input shape of the model is 224, 224, 3. To extract features you should remove the last layer.
13
 
14
+ The model can be read as (example in jupyer):
15
+ """
16
+ !git lfs install
17
+ !git clone https://huggingface.co/MITCriticalData/Sentinel-2_ViT_Autoencoder_RGB_full_Colombia_Dataset
18
+
19
+ import tensorflow as tf
20
+ from transformers import TFViTModel
21
+
22
+
23
+ model = tf.keras.models.load_model('Sentinel-2_ViT_Autoencoder_RGB_full_Colombia_Dataset', custom_objects={"TFViTModel": TFViTModel})
24
+ """
25
+
26
  ## Intended uses & limitations
27
 
28
  The model was trained with images of 81 different cities in Colombia, however it may require fine tuning or retraining to learn from other contexts such as countries and other continents.