Downloads · 30 days
0
salim4n/tfjs-dqn-test-1744564479600
tfjs-dqn-test-1744564479600 is a machine learning model from salim4n. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
- Framework: TensorFlow.js - Type: Deep Q-Network (DQN) - Created by: IgnitionAI
Downloads · 30 days
0
Access
Public
Updated Apr 13, 2025
Repo size
168 B
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 35%
From the Hugging Face model README
This model is saved in TensorFlow.js format and can be loaded in two ways:
LayersModel (Default)
GraphModel
import { loadModelFromHub } from '@ignitionai/backend-tfjs';
// Option 1: Load as LayersModel (for training/fine-tuning)
const layersModel = await loadModelFromHub(
'salim4n/tfjs-dqn-test-1744564479600',
'model/model.json',
false // graphModel = false for LayersModel
);
// Option 2: Load as GraphModel (for inference only)
const graphModel = await loadModelFromHub(
'salim4n/tfjs-dqn-test-1744564479600',
'model/model.json',
true // graphModel = true for GraphModel
);
// Run inference
const input = tf.tensor2d([[0.1, 0.2]]);
const output = model.predict(input);
model.json: Model architecture and configurationweights.bin: Model weightsREADME.md: This documentationThis model was uploaded via the IgnitionAI TensorFlow.js integration.