Ross ROSS = Recommend OSS · open-source software intelligence for agents

amir-abdi/keras_to_tensorflow

General code to convert a trained keras model into an inference tensorflow model observed · 2026-08-28

github.com/amir-abdi/keras_to_tensorflow · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

32/100

  • Activity 0
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3402
  • days_rel: n/a
  • days_push: 2109
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1646 stars · 524 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Python CLI tool that converts trained Keras models (.h5 or .h5 + .) into frozen, inference-ready TensorFlow protobuf (.pb) files. It freezes variables to constants, prunes unused nodes, and optionally exports checkpoint/metagraph files.

Use cases

  • convert keras h5 model to tensorflow pb file
  • freeze keras model for inference
  • export keras model as tensorflow protobuf
  • deploy keras model in tensorflow without keras dependency
  • rename output tensors of a keras model
  • convert keras model weights and architecture to tf graph

When to choose

  • you have a trained Keras (TF 1.x era) model and need a standalone frozen TensorFlow graph for inference
  • you want to strip Keras dependencies from a deployed model
  • you need node pruning and variable freezing in a single .pb file

When to avoid

  • you are using TensorFlow 2.x with Keras and can use native SavedModel export instead
  • you need continued training rather than inference-only export
  • you need actively maintained tooling for modern TF/Keras versions

Facets

cli-tool · maturity maintenance

machine-learning deep-learning serialization developer-tools machine-learning deep-learning developer-tools python cli cross-platform keras tensorflow model-conversion model-freezing inference protobuf

1 source

Member repositories

RepositoryRoleHealth v2
amir-abdi/keras_to_tensorflowmain32

For agents

markdown · JSON · MCP: product_card(name="amir-abdi/keras_to_tensorflow")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem