Instructions to use camstack/camstack-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use camstack/camstack-models with TF-Keras:
# Note: 'keras<3.x' or 'tf_keras' must be installed (legacy) # See https://github.com/keras-team/tf-keras for more details. from huggingface_hub import from_pretrained_keras model = from_pretrained_keras("camstack/camstack-models") - Notebooks
- Google Colab
- Kaggle
animal-classifier v3 (ONNX+OpenVINO, permissive dataset) — CoreML pending
Browse files- animalClassification/animal-classifier/animal-classifier-labels.json +35 -0
- animalClassification/animal-classifier/onnx/animal-classifier-labels.json +35 -0
- animalClassification/animal-classifier/onnx/animal-classifier.onnx +3 -0
- animalClassification/animal-classifier/openvino/animal-classifier-labels.json +35 -0
- animalClassification/animal-classifier/openvino/animal-classifier.bin +3 -0
- animalClassification/animal-classifier/openvino/animal-classifier.xml +0 -0
animalClassification/animal-classifier/animal-classifier-labels.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"labels": [
|
| 3 |
+
"bird",
|
| 4 |
+
"cat",
|
| 5 |
+
"cow",
|
| 6 |
+
"deer",
|
| 7 |
+
"dog",
|
| 8 |
+
"horse",
|
| 9 |
+
"sheep",
|
| 10 |
+
"squirrel"
|
| 11 |
+
],
|
| 12 |
+
"input_size": 224,
|
| 13 |
+
"num_classes": 8,
|
| 14 |
+
"preprocess": {
|
| 15 |
+
"normalize": "imagenet",
|
| 16 |
+
"mean": [
|
| 17 |
+
0.485,
|
| 18 |
+
0.456,
|
| 19 |
+
0.406
|
| 20 |
+
],
|
| 21 |
+
"std": [
|
| 22 |
+
0.229,
|
| 23 |
+
0.224,
|
| 24 |
+
0.225
|
| 25 |
+
],
|
| 26 |
+
"channels": "RGB",
|
| 27 |
+
"layout": "NCHW"
|
| 28 |
+
},
|
| 29 |
+
"arch": "efficientnet_lite0",
|
| 30 |
+
"source": "Open Images V7 animal subset (largest-box crops per image), 8 classes; timm ImageNet1K pretrained, full fine-tune",
|
| 31 |
+
"dataset": "Open Images V7 (Google)",
|
| 32 |
+
"license": "dataset: images CC-BY 2.0 + annotations CC-BY 4.0 (permissive, commercial + redistributable with attribution); weights: Apache-2.0 (timm backbone) \u2014 publicly distributable",
|
| 33 |
+
"output": "logits (apply softmax)",
|
| 34 |
+
"best_val_acc": 0.8925
|
| 35 |
+
}
|
animalClassification/animal-classifier/onnx/animal-classifier-labels.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"labels": [
|
| 3 |
+
"bird",
|
| 4 |
+
"cat",
|
| 5 |
+
"cow",
|
| 6 |
+
"deer",
|
| 7 |
+
"dog",
|
| 8 |
+
"horse",
|
| 9 |
+
"sheep",
|
| 10 |
+
"squirrel"
|
| 11 |
+
],
|
| 12 |
+
"input_size": 224,
|
| 13 |
+
"num_classes": 8,
|
| 14 |
+
"preprocess": {
|
| 15 |
+
"normalize": "imagenet",
|
| 16 |
+
"mean": [
|
| 17 |
+
0.485,
|
| 18 |
+
0.456,
|
| 19 |
+
0.406
|
| 20 |
+
],
|
| 21 |
+
"std": [
|
| 22 |
+
0.229,
|
| 23 |
+
0.224,
|
| 24 |
+
0.225
|
| 25 |
+
],
|
| 26 |
+
"channels": "RGB",
|
| 27 |
+
"layout": "NCHW"
|
| 28 |
+
},
|
| 29 |
+
"arch": "efficientnet_lite0",
|
| 30 |
+
"source": "Open Images V7 animal subset (largest-box crops per image), 8 classes; timm ImageNet1K pretrained, full fine-tune",
|
| 31 |
+
"dataset": "Open Images V7 (Google)",
|
| 32 |
+
"license": "dataset: images CC-BY 2.0 + annotations CC-BY 4.0 (permissive, commercial + redistributable with attribution); weights: Apache-2.0 (timm backbone) \u2014 publicly distributable",
|
| 33 |
+
"output": "logits (apply softmax)",
|
| 34 |
+
"best_val_acc": 0.8925
|
| 35 |
+
}
|
animalClassification/animal-classifier/onnx/animal-classifier.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2ccd51865c1d2d600ff68235f5e72a434cb89555197a872489a2357f50771768
|
| 3 |
+
size 13477185
|
animalClassification/animal-classifier/openvino/animal-classifier-labels.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"labels": [
|
| 3 |
+
"bird",
|
| 4 |
+
"cat",
|
| 5 |
+
"cow",
|
| 6 |
+
"deer",
|
| 7 |
+
"dog",
|
| 8 |
+
"horse",
|
| 9 |
+
"sheep",
|
| 10 |
+
"squirrel"
|
| 11 |
+
],
|
| 12 |
+
"input_size": 224,
|
| 13 |
+
"num_classes": 8,
|
| 14 |
+
"preprocess": {
|
| 15 |
+
"normalize": "imagenet",
|
| 16 |
+
"mean": [
|
| 17 |
+
0.485,
|
| 18 |
+
0.456,
|
| 19 |
+
0.406
|
| 20 |
+
],
|
| 21 |
+
"std": [
|
| 22 |
+
0.229,
|
| 23 |
+
0.224,
|
| 24 |
+
0.225
|
| 25 |
+
],
|
| 26 |
+
"channels": "RGB",
|
| 27 |
+
"layout": "NCHW"
|
| 28 |
+
},
|
| 29 |
+
"arch": "efficientnet_lite0",
|
| 30 |
+
"source": "Open Images V7 animal subset (largest-box crops per image), 8 classes; timm ImageNet1K pretrained, full fine-tune",
|
| 31 |
+
"dataset": "Open Images V7 (Google)",
|
| 32 |
+
"license": "dataset: images CC-BY 2.0 + annotations CC-BY 4.0 (permissive, commercial + redistributable with attribution); weights: Apache-2.0 (timm backbone) \u2014 publicly distributable",
|
| 33 |
+
"output": "logits (apply softmax)",
|
| 34 |
+
"best_val_acc": 0.8925
|
| 35 |
+
}
|
animalClassification/animal-classifier/openvino/animal-classifier.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:30edf890ff200e8b5169e7a28fcebe148b0d6a5dd3eb570d7a4de89acc9bd63c
|
| 3 |
+
size 6722528
|
animalClassification/animal-classifier/openvino/animal-classifier.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|