Instructions to use peterhuang24/AI_Generated_Image_Classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use peterhuang24/AI_Generated_Image_Classifier 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://peterhuang24/AI_Generated_Image_Classifier") - Notebooks
- Google Colab
- Kaggle
Delete config.json
Browse files- config.json +0 -5
config.json
DELETED
|
@@ -1,5 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"model_type": "tensorflow",
|
| 3 |
-
"input_shape": [224, 224, 3],
|
| 4 |
-
"num_classes": 1
|
| 5 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|