keras
Keras model loading and structure-inspection workflow for `.keras`, SavedModel, and HDF5 artifacts. Use when you need to inspect layers, summaries, configs, weights, or quick inference behavior from TensorFlow/Keras model files.
v2026.11.13-21cd5682 installs+2 in 7 days39 Starssynced 10 hours ago
Install
No NotHoly CLI yet? Install it first.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install aeondave/kerasWrites to ~/.notholy/skills after checking the signature and the SHA-256.
SignatureSigned, ed25519
Packagef25ea54a…4350e3b0
f25ea54aae24…40e04350e3b01 file · 1.1 KBScanMedium1 finding
- No license found
Sourcegithub.com/AeonDave/malskill/tree/main/ai/keras@21cd568
On this page
High-level model inspection when the artifact speaks layers, configs, and summaries.
When to use Keras
Use Keras when you need to:
- load a saved Keras or TensorFlow model artifact
- print a structural summary and inspect layers quickly
- review configuration, weights, or input/output expectations
- run a small inference sanity check without rebuilding the whole training stack
Quick Start
from keras.saving import load_model
model = load_model("model.keras", compile=False, safe_mode=True)
model.summary()High-Value Workflows
Layer and config inspection
for layer in model.layers:
print(layer.name, layer.__class__.__name__)
config = model.get_config()
print(config.keys())Weight inspection
for layer in model.layers:
weights = layer.get_weights()
if weights:
print(layer.name, [w.shape for w in weights])Practical Notes
- Use
compile=Falsewhen you only need inspection; it avoids unnecessary optimizer/loss restoration. - Keep
safe_mode=Trueunless you are intentionally loading trusted custom objects that require otherwise. model.summary()is the quickest overview;get_config()is better for structured downstream tooling.
Caveats
- Custom layers, losses, or metrics may require explicit
custom_objectssupport. - SavedModel,
.keras, and old.h5artifacts do not behave identically across all environments. - Deserialization of untrusted custom objects is a real risk; stay conservative.
Resources
No bundled scripts/, references/, or assets/.
Use the official Keras saving and serialization documentation for format differences and safe_mode behavior.
Files in this version
- SKILL.md2.0 KB
Permissions
| Permission | Declared | Found by the scan |
|---|---|---|
| Reads files | No | No |
| Writes files | No | No |
| Runs shell commands | No | No |
| Uses the network | No | No |
| Uses connectors | No | No |
| Drives a browser | No | No |
Scan findings
Reviewed on Nov 13, 2026
- MediumLicense · No license found
A clean scan lowers the risk but does not prove a package is safe. Read what you install.
| Version | Published | Commit | SHA-256 | Signature | Permission change |
|---|---|---|---|---|---|
| v2026.11.13-21cd568 | Nov 13, 2026 | 21cd568 | f25ea54a | Signed | – |
More from AeonDave
All from this publisherMore in AI, agents and MCP
See the category- fal-assetsrehan-remade/fal-assets5
- ai-system-prompt-leakagenoorqureshi/ai-system-prompt-leakage4
- ai-prompt-injectionnoorqureshi/ai-prompt-injection4
- testing-prompt-injection-in-rag-pipelinesmukul975/testing-prompt-injection-in-rag-pipelines4
- implementing-llm-guardrails-for-securitymukul975/implementing-llm-guardrails-for-security4
- defending-llms-with-guardrailsmukul975/defending-llms-with-guardrails4
Ask anything your scope allows.
Create an account, add credits and ask the first question in the chat or the terminal.
- 1/3
Create the account
Individual or company. You can switch to a company later without losing balance or keys.
IndividualCompany - 2/3
Add credits
By card. Pay per token, no subscription.
$5.00minimum deposit - 3/3
Ask
In the chat, or install the CLI and run notholy login in your terminal.
$ notholy login