Run this model with HF Jobs
Run MITCriticalData/Sentinel-2_ViT_Autoencoder_RGB_full_Colombia_Dataset on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/MITCriticalData/Sentinel-2_ViT_Autoencoder_RGB_full_Colombia_Dataset. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/MITCriticalData/Sentinel-2_ViT_Autoencoder_RGB_full_Colombia_Dataset on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use MITCriticalData/Sentinel-2_ViT_Autoencoder_RGB_full_Colombia_Dataset with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use MITCriticalData/Sentinel-2_ViT_Autoencoder_RGB_full_Colombia_Dataset with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://MITCriticalData/Sentinel-2_ViT_Autoencoder_RGB_full_Colombia_Dataset") - Notebooks
- Google Colab
- Kaggle
Commit ·
5acff0d
1
Parent(s): 5e6c7b5
Push Keras model using huggingface_hub.
Browse filesFiles changed (5)
3 unmodified lines45678910111278910161112131420151622171819202 unmodified lines232425312627333428293031323 unmodified lines
## Model description
Autoencoder model trained to compress information from sentinel-2 satellite images using a Vision Transformer (ViT) as encoder backbone to extract features. The latent space of the model is given by 1024 neurons which can be used to generate embeddings from the sentinel-2 satellite images.
The model was trained using bands RGB (2, 3 and 4) (Red, Green and Blue) of the Sentinel-2 satellites and using 81 municipalities of Colombia with most dengue cases.
The input shape of the model is 224, 224, 3. To extract features you should remove the last layer.More information needed
## Intended uses & limitations
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.More information needed
## Training and evaluation data
The model was trained with satellite images of 81 different cities in Colombia extracted from sentinel-2 using RGB bands using an asymmetric autoencoder. Images with information that could result in noise such as black images were filtered prior to training to avoid noise in the data.More information needed
The dataset was split into train and test using 80% for train and 20% to test.## Training procedure
### Training hyperparameters
2 unmodified lines| Hyperparameters | Value || :-- | :-- || name | Adam || learning_rate | 0.0010000000474974513 || learning_rate | 0.001 || decay | 0.0 || beta_1 | 0.8999999761581421 || beta_2 | 0.9990000128746033 || beta_1 | 0.9 || beta_2 | 0.999 || epsilon | 1e-07 || amsgrad | False || training_precision | float32 |12323version https://git-lfs.github.com/spec/v1oid sha256:3ed6fb1d5d355843d8864c84837b68f0ce6fce818cefe8394615ce5858bf634bsize 213379oid sha256:72e9c2389aa34c4d33fc6ab68618da767284d3cbb3883ab46683ced706ad5137size 21381212323version https://git-lfs.github.com/spec/v1oid sha256:d534302dc73b58f3457a242c44b9210d392c590564f05d416eaafb96abf6788csize 15930729oid sha256:5701db00994f47e59cec5be0168a2fe9e2c5afb4c07a780c607d1cc34dd2990esize 1615566812323version https://git-lfs.github.com/spec/v1oid sha256:6b45fbe8bf531f75c3e1e86e9187dd9602fd18a304586d5827d2bf7d51c96922size 761250486oid sha256:6235c13d02b9eb0a0ddf740ee5531193fce63907f54cdd88bbe0255518c0a1c2size 761250970README.md+7-12
keras_metadata.pb+2-2
saved_model.pb+2-2
variables/variables.data-00000-of-00001+2-2
variables/variables.index