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
ONNX int8 mobileclip-s1
Browse files
clip/mobileclip-s1/onnx/preprocessor_config.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"crop_size": {
|
| 3 |
+
"height": 256,
|
| 4 |
+
"width": 256
|
| 5 |
+
},
|
| 6 |
+
"do_center_crop": true,
|
| 7 |
+
"do_convert_rgb": true,
|
| 8 |
+
"do_normalize": false,
|
| 9 |
+
"do_rescale": true,
|
| 10 |
+
"do_resize": true,
|
| 11 |
+
"feature_extractor_type": "CLIPFeatureExtractor",
|
| 12 |
+
"image_processor_type": "CLIPFeatureExtractor",
|
| 13 |
+
"resample": 2,
|
| 14 |
+
"rescale_factor": 0.00392156862745098,
|
| 15 |
+
"size": {
|
| 16 |
+
"shortest_edge": 256
|
| 17 |
+
}
|
| 18 |
+
}
|