File size: 1,792 Bytes
54cf1e8
 
 
 
 
 
 
 
 
 
808062b
 
54cf1e8
 
 
808062b
 
 
 
54cf1e8
 
 
808062b
 
 
 
 
 
54cf1e8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
808062b
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Sign Language Recognition Model

This model recognizes sign language gestures using landmark data from hand, pose, and face keypoints.

## Model Details

- **Model Type**: Sign Language Recognition
- **Framework**: TensorFlow/Keras
- **Input**: Landmark sequences (x, y, z coordinates)
- **Output**: Sign language class predictions
- **Classes**: 60 different signs
- **Parameters**: 1763418

## Model Architecture

- **Input Shape**: (,384,708)
- **Output Shape**: (,60)
- **Max Sequence Length**: (384)
- **Embedding Dimension**: (192)

## Training Details

- **Epochs**: 69
- **Batch Size**: 32
- **Learning Rate**: 0.0005
- **Weight Decay**: 0.1
- **Best Validation Loss**: 3.1850430965423584
- **Best Validation Accuracy**: 0.25550660490989685

## Usage

```python

import tensorflow as tf

import pickle

import numpy as np



# Load the model

model = tf.keras.models.load_model('model.h5')



# Load the processor

with open('processor.pkl', 'rb') as f:

    processor = pickle.load(f)



# Example inference

# your_landmark_data should be preprocessed using the same processor

predictions = model.predict(your_landmark_data)

predicted_classes = np.argmax(predictions, axis=1)

```

## Files Description

- `model.h5`: Complete Keras model (recommended for inference)
- `model_weights.h5`: Model weights only
- `processor.pkl`: Data processor for landmark preprocessing
- `config.json`: Model configuration and metadata
- `training_history.json`: Training metrics and history
- `inference_example.py`: Example inference script
- `requirements.txt`: Required dependencies

## Requirements

See `requirements.txt` for the complete list of dependencies.

## Training Notebook

The training notebook will be provided in future updates