Instructions to use DaneshSelwal/Classification-ETM108-Models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use DaneshSelwal/Classification-ETM108-Models 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://DaneshSelwal/Classification-ETM108-Models") - Notebooks
- Google Colab
- Kaggle
Upload models/ViT_UNet_dapm_full_config.json from etm108-suite-runner-k21
Browse files123456789101112131415161718192021222324252627282930{ "model_key": "ViT_UNet", "base_model_path": "/kaggle/working/models/ViT_UNet_best.keras", "feature_dim": 64, "latent_dim": 64, "num_classes": 7, "decoder_hidden_dim": 256, "discriminator_hidden_dim": 128, "classifier_hidden_dim": 128, "diffusion_hidden_dim": 256, "diffusion_T": 100, "beta_start": 0.0001, "beta_end": 0.02, "patch_shape": [ 9, 9, 108 ], "freeze_backbone": true, "source_rule": "labeled_pixels", "target_rule": "unlabeled_pixels_same_scene", "weights": { "encoder": "/kaggle/working/models/ViT_UNet_dapm_full_encoder.weights.h5", "source_decoder": "/kaggle/working/models/ViT_UNet_dapm_full_source_decoder.weights.h5", "target_decoder": "/kaggle/working/models/ViT_UNet_dapm_full_target_decoder.weights.h5", "classifier": "/kaggle/working/models/ViT_UNet_dapm_full_classifier.weights.h5", "discriminator": "/kaggle/working/models/ViT_UNet_dapm_full_discriminator.weights.h5", "diffusion": "/kaggle/working/models/ViT_UNet_dapm_full_diffusion.weights.h5" }}models/ViT_UNet_dapm_full_config.jsonAdded+30