Instructions to use kisambu/tuberculoscan with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use kisambu/tuberculoscan 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://kisambu/tuberculoscan") - Notebooks
- Google Colab
- Kaggle
File size: 332 Bytes
87a2e39 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | from huggingface_hub import HfApi
import os
# Créer l'API
api = HfApi()
# Upload de tous les fichiers du répertoire courant
api.upload_folder(
folder_path=".", # Répertoire courant
repo_id="kisambu/tuberculoscan",
repo_type="model",
commit_message="Upload du modèle de détection de tuberculose"
) |