Run this model with HF Jobs
Run abinav-rdj/fish_clasification on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/abinav-rdj/fish_clasification. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/abinav-rdj/fish_clasification on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use abinav-rdj/fish_clasification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use abinav-rdj/fish_clasification 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://abinav-rdj/fish_clasification") - Notebooks
- Google Colab
- Kaggle
Upload folder using huggingface_hub
Browse filesFiles changed (4)
- README.mdAdded+24
- eatfish_mobilenetv3.keras+2-2
- eatfish_mobilenetv3_best.keras+2-2
- evaluation.json+53-11
123456789101112131415161718192021222324# EatFish Fish Classification
Image classification model for three fish classes:anchovy, emperor, sangara
## Model- Architecture: MobileNetV3Small- Pretrained weights: ImageNet- Input size: 224 x 224 RGB- Output: Softmax probabilities across 3 classes
## Evaluation- Test accuracy: 100.00%- Test loss: 0.0114
## Files- eatfish_mobilenetv3.keras: final saved model- eatfish_mobilenetv3_best.keras: best validation-loss checkpoint- class_names.json: class label order- evaluation.json: test metrics and confusion matrix
## InputProvide an RGB image resized to 224 x 224 pixels.The model uses MobileNetV3 preprocessing internally.12323version https://git-lfs.github.com/spec/v1oid sha256:d050b2b35287640f3302792ab0f3df8d0e39bd3976f633e3fe2ca862d616cae3size 9030720oid sha256:bfbdbb7f3c526d8eda4d5331b4376061c8b4ef508fd7b9ce76bfc66178ac29ffsize 903071312323version https://git-lfs.github.com/spec/v1oid sha256:158dfff8b941675119ed9bd8a46764bcb06789560a9f6eb843a2832eef71ddf7size 9036751oid sha256:27fd62105b26dbb10a96dc8eb0a68c427a52db2f03e1771e958b6b1535a1c0f1size 9036744123456789102345678151691011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859{ "architecture": "MobileNetV3Small", "learning_method": "Supervised transfer learning and fine-tuning", "image_size": [ 224, 224 ], "input_format": "RGB", "input_pixel_range": "0-255", "classes": [ "test_loss": 0.011400883086025715, "test_accuracy": 1.0, "class_names": [ "anchovy", "emperor", "sangara" ], "test_loss": 0.011684799566864967, "test_accuracy": 1.0 "classification_report": { "anchovy": { "precision": 1.0, "recall": 1.0, "f1-score": 1.0, "support": 40.0 }, "emperor": { "precision": 1.0, "recall": 1.0, "f1-score": 1.0, "support": 51.0 }, "sangara": { "precision": 1.0, "recall": 1.0, "f1-score": 1.0, "support": 48.0 }, "accuracy": 1.0, "macro avg": { "precision": 1.0, "recall": 1.0, "f1-score": 1.0, "support": 139.0 }, "weighted avg": { "precision": 1.0, "recall": 1.0, "f1-score": 1.0, "support": 139.0 } }, "confusion_matrix": [ [ 40, 0, 0 ], [ 0, 51, 0 ], [ 0, 0, 48 ] ]}README.mdAdded+24
eatfish_mobilenetv3.keras+2-2
eatfish_mobilenetv3_best.keras+2-2
evaluation.json+53-11