Instructions to use Aditya2162/ivus-segmentation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Aditya2162/ivus-segmentation 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://Aditya2162/ivus-segmentation") - Notebooks
- Google Colab
- Kaggle
Download models/multitask/threshold.json from Aditya2162/ivus-segmentation: direct link, hf CLI and curl.
- Browser
- Download file 694 Bytes
-
https://huggingface.co/Aditya2162/ivus-segmentation/resolve/main/models/multitask/threshold.json
- Command line
-
hf download hf://Aditya2162/ivus-segmentation/models/multitask/threshold.json
-
curl -L -o threshold.json https://huggingface.co/Aditya2162/ivus-segmentation/resolve/main/models/multitask/threshold.json
694 Bytes
| { | |
| "selected_threshold": 0.5199999999999999, | |
| "selection": { | |
| "method": "validation_sweep", | |
| "metric": "cls_f1", | |
| "selected_threshold": 0.5199999999999999, | |
| "val_best": { | |
| "threshold": 0.5199999999999999, | |
| "cls_accuracy": 0.8888888888888888, | |
| "cls_precision": 0.8888888888888888, | |
| "cls_recall": 0.9491525423728814, | |
| "cls_f1": 0.9180327868852458, | |
| "cls_auc": 0.9111536741256714, | |
| "tp": 56, | |
| "fp": 7, | |
| "fn": 3, | |
| "tn": 24 | |
| } | |
| }, | |
| "source_split_json": "evals/splits/ivus_split_merged_600.json", | |
| "source_model_path": "models/multitask/bifurcation_head.keras", | |
| "source_base_model_dir": "models/multitask/lumen_multitask_base" | |
| } |