Downloads · 30 days
2
3% of all-time downloads
BiancaBeingolea/multimodal_clip_model.keras
multimodal_clip_model.keras is a machine learning model from BiancaBeingolea. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for keras.
This project implements a multimodal neural network that combines: - Image embeddings from a custom Keras-serializable CLIPImageEncoder - Tabular numerical features
Downloads · 30 days
2
3% of all-time downloads
All-time downloads
63
Public
Repo size
2 MB
Likes
0
Public
Click a slice to open those files.
.keras2 MB · 100%
From the Hugging Face model README
This project implements a multimodal neural network that combines:
To create a fused network that outputs a binary classification of NFL play types (run/pass play)
It uses TensorFlow/Keras, Open AI's CLIP, and a custom architecture that can be trained and tested separately.
Features:
Files:
train_multimodal.py # Builds and trains the multimodal model
test.py # Loads the saved model and runs inference
Model Overview:
A serializable Keras layer wrapping the CLIP image encoder:
Training the Model:
Run:
python3 train_multimodal.py
This will:
Testing:
source venv/bin/activate
Run:
python3 test.py
The test script:
Requirements/Setup Instructions:
python -m venv venv source venv/bin/activate
tensorflow==2.17.0
transformers pillow numpy pandas scikit-learn keras
See GitHub repository: https://github.com/BiancaBeingolea/FootballPlayPredictionMultimodalModel/tree/main