Instructions to use Recompense/FoodVision with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use Recompense/FoodVision 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://Recompense/FoodVision") - Notebooks
- Google Colab
- Kaggle
Update helper_functions.py
Browse files- helper_functions.py +1 -1
helper_functions.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
### We create a bunch of helpful functions
|
| 2 |
### Storing them here so they're easily accessible.
|
| 3 |
|
| 4 |
import tensorflow as tf
|
|
|
|
| 1 |
+
### We create a bunch of helpful functions
|
| 2 |
### Storing them here so they're easily accessible.
|
| 3 |
|
| 4 |
import tensorflow as tf
|