Component Libraries •
Project Templates
Docs •
Install •
Tutorials •
Developer Guides •
Contribute •
Blog •
Discord
Xircuits Component Library to interface with TensorFlow Keras! Build and deploy deep learning solutions with ease.
Integrates TensorFlow Keras into Xircuits for streamlined deep learning workflows. Simplifies model design, training, and deployment with reusable components. Reduces complexity and accelerates development for scalable AI solutions.
Before you begin, you will need the following:
- Python3.9+.
- Xircuits.
Creates 1D Keras models for datasets with 1D input structures.
Assembles 2D Keras models, ideal for image-based datasets.
Fetches TensorFlow Keras Models for transfer learning.
Trains Keras models for image classification tasks.
Evaluates Keras models for accuracy and loss using test datasets.
Trains compiled Keras models with training data.
We have provided an example workflow to help you get started with the TensorFlow Keras component library. Give it a try and see how you can create custom TensorFlow Keras components for your applications.
Demonstrates transfer learning with MobileNetV2 pre-trained on ImageNet to classify the "cats_vs_dogs" dataset, evaluate accuracy, and save the model.
This workflow trains a 2D convolutional model on a dataset, evaluates its accuracy, and demonstrates basic image classification.
Uses the pre-trained ResNet50 model to classify an input image and predict its class label.
To use this component library, ensure that you have an existing Xircuits setup. You can then install the TensorFlow Keras library using the component library interface, or through the CLI using:
xircuits install tensorflow_keras
You can also do it manually by cloning and installing it:
# base Xircuits directory
git clone https://github.com/XpressAI/xai-tensorflow-keras xai_components/xai_tensorflow_keras
pip install -r xai_components/xai_tensorflow_keras/requirements.txt