Instructions to use Datadragon110/freshwater-quantization-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Datadragon110/freshwater-quantization-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://Datadragon110/freshwater-quantization-models") - Notebooks
- Google Colab
- Kaggle
Download verification_summary.json from Datadragon110/freshwater-quantization-models: direct link, hf CLI and curl.
- Browser
- Download file 1.54 kB
-
https://huggingface.co/Datadragon110/freshwater-quantization-models/resolve/main/verification_summary.json
- Command line
-
hf download hf://Datadragon110/freshwater-quantization-models/verification_summary.json
-
curl -L -o verification_summary.json https://huggingface.co/Datadragon110/freshwater-quantization-models/resolve/main/verification_summary.json
1.54 kB
| { | |
| "env": { | |
| "tf": "2.20.0", | |
| "keras": "3.13.2", | |
| "python": "3.13.15", | |
| "gpu": "/physical_device:GPU:0", | |
| "cpu": "Intel(R) Xeon(R) CPU @ 2.00GHz" | |
| }, | |
| "config": { | |
| "IMG_SIZE": [ | |
| 224, | |
| 224 | |
| ], | |
| "BATCH_SIZE": 32, | |
| "SEEDS": [ | |
| 0, | |
| 1, | |
| 2, | |
| 3, | |
| 4 | |
| ], | |
| "EPOCHS": 30, | |
| "PATIENCE": 4, | |
| "VAL_FRACTION": 0.15, | |
| "CALIB_N": 300, | |
| "MOBILENET_MINIMALISTIC": true, | |
| "DETERMINISTIC_OPS": false, | |
| "NEAR_DUP_HAMMING": 4, | |
| "N_FOLDS": 5 | |
| }, | |
| "split": { | |
| "unique_images": 1750, | |
| "train_folder": 1750, | |
| "test_folder": 700, | |
| "folds": 5 | |
| }, | |
| "audit": { | |
| "test_folder_images": 700, | |
| "test_exact_duplicate_files_in_train": 700, | |
| "test_with_near_dup_in_train": 700, | |
| "pct_test_with_near_dup_in_train": 100.0, | |
| "test_near_dup_with_DIFFERENT_label": 2, | |
| "genuinely_new_test_images": 0, | |
| "unique_images_used": 1750, | |
| "near_dup_groups": 1637, | |
| "images_in_multi_image_groups": 212, | |
| "groups_with_conflicting_labels": 3 | |
| }, | |
| "params": { | |
| "effnetb0": { | |
| "total": 4058538, | |
| "frozen": 4049571, | |
| "trainable": 8967, | |
| "macs_M": 384.543712 | |
| }, | |
| "mnv3small": { | |
| "total": 445039, | |
| "frozen": 441000, | |
| "trainable": 4039, | |
| "macs_M": 50.678656 | |
| } | |
| }, | |
| "classes": [ | |
| "Bacterial Red disease", | |
| "Bacterial diseases - Aeromoniasis", | |
| "Bacterial gill disease", | |
| "Fungal diseases Saprolegniasis", | |
| "Healthy Fish", | |
| "Parasitic diseases", | |
| "Viral diseases White tail disease" | |
| ] | |
| } |