Skip to content

Formateurs & Code

Chargeur de Modèle TensorFlow.js

Load any tf.js model URL — see layers, params, ops.

Runs in your browser

Tip: TF Hub URLs sometimes redirect — paste the final model.json URL.

Note de la rédaction

Understanding · Models in the browser — WebGL or WASM, your choice.

Ce chapitre approfondi n'est actuellement disponible qu'en anglais. L'outil de conversion ci-dessus fonctionne dans votre langue ; le long article explicatif n'a pas encore été traduit.

Questions fréquentes

Quick answers.

What files are required to load a model?

You need a link to a valid `model.json` file. This file contains the architecture map and links to the associated binary weight files which will be fetched automatically.

Does my model data stay private?

Yes. The model is downloaded from your provided URL directly to your browser's memory. No model data or weights are uploaded to our servers or stored permanently.

Why is my model failing to load?

The most common issue is CORS (Cross-Origin Resource Sharing) restrictions on the host server. Ensure the hosting provider allows external requests or use a local development server with the correct headers.

Can I run inference with this tool?

No. This tool is specifically for Inspecting the model's layers, input/output shapes, and operation count rather than executing data through the graph.

Les internautes recherchent aussi

Outils similaires

More in this room.

Tout voir dans Formateurs & Code