Instructions to use aslein1413/poc-keras-torchmodulewrapper with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use aslein1413/poc-keras-torchmodulewrapper with Keras:
# Available backend options are: "jax", "torch", "tensorflow". import os os.environ["KERAS_BACKEND"] = "jax" import keras model = keras.saving.load_model("hf://aslein1413/poc-keras-torchmodulewrapper") - Notebooks
- Google Colab
- Kaggle
| # poc-keras-torchmodulewrapper | |
| Security PoC - .keras with a TorchModuleWrapper layer runs torch.load pickle at load_model() time; ModelScan reports it clean. huntr disclosure. | |