Code Monkey home page Code Monkey logo

assignment's Introduction

Assignment

This repository is dedicated to build a Message Broker Service using Apache Kafka and Google Pub/Sub for Image Recognition Model.

Table of Contents

  • Installation
  • Requirements
  • Usage
  • Development
  • License

Installation

(Back to Top)

To use this project, first clone the repo using the following command:

git init

git clone https://github.com/LaxmanSinghTomar/assignment.git

Requirements

(Back to Top)

  • In order to use the Kafka, you are required to setup and start Apache Kafka Zookeeper and Kafka Server.
  • In order to use the Google Pub/Sub Modules, you will require Google Application Credentials. Try to follow this.

Usage

(Back to Top)

Install the required libraries & packages using:

pip install requirements.txt

To train the model use, the following command:

python3 src/models/train.py

To run the application use:

python3 src/app.py

Development

(Back to Top)

├── models                      # Model Directory comprising Trained Model Files
│   └── fashion_mnist_cnn
│       ├── assets
│       ├── keras_metadata.pb
│       ├── saved_model.pb
│       └── variables
│           ├── variables.data-00000-of-00001
│           └── variables.index
├── notebooks               # Jupyter Notebook comprising Model Experimentation.
│   └── train_CNN.ipynb
└── src                     # Python Scripts
    ├── aerospike                           # AeroSpike DB
    │   └──aerospike_config.properties
    ├── app.py                              # Main Application
    ├── config                              # Configuration Directory
    │   ├── app_config.properties
    │   ├── constants_config.py
    │   ├── logging_config.py
    │   └── runtime_config.py
    ├── kafka_module                        # Kafka Module Scripts + Configs
    │   ├── consumer_config.properties
    │   ├── consumer.py
    │   ├── producer_config.properties
    │   └── producer.py
    ├── logs                                # Generated Logs
    │   ├── logs__main__.logs
    │   └── logs__main__.logs.2021-10-25
    ├── models                              # Model Training & Utilities
    │   ├── train.py
    │   └── utils.py
    └── pubsub                              # Pub/Sub Module Scripts + Configs
        ├── publisher_config.properties
        ├── publisher.py
        ├── subscriber_config.properties
        └── subscriber.py

License

(Back to top)

GNU General Public License version 3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.