Instructions to use mubaraknumann/genera-cloud-image-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use mubaraknumann/genera-cloud-image-classification 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://mubaraknumann/genera-cloud-image-classification") - Notebooks
- Google Colab
- Kaggle
Download label_mapping.json from mubaraknumann/genera-cloud-image-classification: direct link, hf CLI and curl.
- Browser
- Download file 686 Bytes
-
https://huggingface.co/mubaraknumann/genera-cloud-image-classification/resolve/main/label_mapping.json
- Command line
-
hf download hf://mubaraknumann/genera-cloud-image-classification/label_mapping.json
-
curl -L -o label_mapping.json https://huggingface.co/mubaraknumann/genera-cloud-image-classification/resolve/main/label_mapping.json
686 Bytes
| { | |
| "label_to_int": { | |
| "Altocumulus": 0, | |
| "Altostratus": 1, | |
| "Cirrocumulus": 2, | |
| "Cirrostratus": 3, | |
| "Cirrus": 4, | |
| "Clear Sky": 5, | |
| "Contrail": 6, | |
| "Cumulonimbus": 7, | |
| "Cumulus": 8, | |
| "Nimbostratus": 9, | |
| "Stratocumulus": 10, | |
| "Stratus": 11 | |
| }, | |
| "int_to_label": { | |
| "0": "Altocumulus", | |
| "1": "Altostratus", | |
| "2": "Cirrocumulus", | |
| "3": "Cirrostratus", | |
| "4": "Cirrus", | |
| "5": "Clear Sky", | |
| "6": "Contrail", | |
| "7": "Cumulonimbus", | |
| "8": "Cumulus", | |
| "9": "Nimbostratus", | |
| "10": "Stratocumulus", | |
| "11": "Stratus" | |
| } | |
| } |