Instructions to use MaHaWo/iSparrow_test_models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- TF-Keras
How to use MaHaWo/iSparrow_test_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("MaHaWo/iSparrow_test_models") - Notebooks
- Google Colab
- Kaggle
fix syntax error
Browse files
birdnet_custom_v2.4/model.py
CHANGED
|
@@ -138,7 +138,7 @@ class Model(ModelBase):
|
|
| 138 |
Returns:
|
| 139 |
np.array: Feature embedding produces by the default birdnet CNN.
|
| 140 |
"""
|
| 141 |
-
print(" get embeddings", flush = True)
|
| 142 |
self.model.resize_tensor_input(
|
| 143 |
self.input_layer_index, [len(data), *data[0].shape]
|
| 144 |
)
|
|
|
|
| 138 |
Returns:
|
| 139 |
np.array: Feature embedding produces by the default birdnet CNN.
|
| 140 |
"""
|
| 141 |
+
print(" get embeddings", flush = True)
|
| 142 |
self.model.resize_tensor_input(
|
| 143 |
self.input_layer_index, [len(data), *data[0].shape]
|
| 144 |
)
|