Instructions to use RogerKoala/gen1-pokemon-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use RogerKoala/gen1-pokemon-classifier with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://RogerKoala/gen1-pokemon-classifier") - Notebooks
- Google Colab
- Kaggle
| { | |
| "module": "keras", | |
| "class_name": "Sequential", | |
| "config": { | |
| "name": "sequential", | |
| "trainable": true, | |
| "dtype": { | |
| "module": "keras", | |
| "class_name": "DTypePolicy", | |
| "config": { | |
| "name": "float32" | |
| }, | |
| "registered_name": null | |
| }, | |
| "build_input_shape": [null, 224, 224, 3] | |
| }, | |
| "registered_name": null, | |
| "build_config": { | |
| "input_shape": [null, 224, 224, 3] | |
| }, | |
| "compile_config": { | |
| "optimizer": { | |
| "module": "keras.optimizers", | |
| "class_name": "Adam", | |
| "config": { | |
| "name": "adam", | |
| "learning_rate": 0.0010000000474974513, | |
| "weight_decay": null, | |
| "clipnorm": null, | |
| "global_clipnorm": null, | |
| "clipvalue": null, | |
| "use_ema": false, | |
| "ema_momentum": 0.99, | |
| "ema_overwrite_frequency": null, | |
| "loss_scale_factor": null, | |
| "gradient_accumulation_steps": null, | |
| "beta_1": 0.9, | |
| "beta_2": 0.999, | |
| "epsilon": 1e-7, | |
| "amsgrad": false | |
| }, | |
| "registered_name": null | |
| }, | |
| "loss": "categorical_crossentropy", | |
| "loss_weights": null, | |
| "metrics": ["accuracy"], | |
| "weighted_metrics": null, | |
| "run_eagerly": false, | |
| "steps_per_execution": 1, | |
| "jit_compile": true | |
| } | |
| } | |