Coder Social home page Coder Social logo

richardsonjf / deepstack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from johnolafenwa/deepstack

0.0 1.0 0.0 348.08 MB

The World's Leading Cross Platform AI Engine for Edge Devices

License: Apache License 2.0

Python 55.19% CSS 0.06% JavaScript 29.84% Go 0.04% HTML 0.05% SCSS 0.01% Shell 0.01% Inno Setup 0.48% C 1.97% C++ 11.72% Jupyter Notebook 0.02% Fortran 0.02% Makefile 0.01% MATLAB 0.01% TeX 0.06% Cuda 0.21% CMake 0.31% Roff 0.01% PowerShell 0.01% C# 0.01%

deepstack's Introduction

DeepStack

The World's Leading Cross Platform AI Engine for Edge Devices, with over 3.2 million installs on Docker Hub.

black

license

DevTest

Website: https://deepstack.cc

Documentation: https://docs.deepstack.cc

Forum: https://forum.deepstack.cc

Dev Center: https://dev.deepstack.cc

DeepStack is owned and maintained by DeepQuest AI.

Introduction

DeepStack is an AI API engine that serves pre-built models and custom models on multiple edge devices locally or on your private cloud. Supported platforms are:

  • Linux OS via Docker ( CPU and NVIDIA GPU support )
  • Mac OS via Docker
  • Windows 10 ( native application )
  • NVIDIA Jetson via Docker.

DeepStack runs completely offline and independent of the cloud. You can also install and run DeepStack on any cloud VM with docker installed to serve as your private, state-of-the-art and real-time AI server.

Installation and Usage

Visit https://docs.deepstack.cc/getting-started for installation instructions. The documentation provides example codes for the following programming languages with more to be added soon.

  • Python
  • C#
  • NodeJS

Build from Source (For Docker Version)

  • Install Prerequisites

  • Clone DeepStack Repo

    git clone https://github.com/johnolafenwa/DeepStack.git

  • CD to DeepStack Repo Dir

    cd DeepStack

  • Fetch Repo Files

    git lfs pull

  • Build DeepStack Server

    cd server && go build

  • Build DeepStack CPU Version

    cd .. && sudo docker build -t deepquestai/deepstack:cpu . -f Dockerfile.cpu

  • Build DeepStack GPU Version

    sudo docker build -t deepquestai/deepstack:gpu . -f Dockerfile.gpu

  • Build DeepStack Jetson Version

    sudo docker build -t deepquestai/deepstack:jetpack . -f Dockerfile.gpu-jetpack

  • Running and Testing Locally Without Building

    • Unless you wish to install requirements system wide, create a virtual environment with python3.7 -m venv venv and activate with source venv/bin/activate

    • Install Requirements with pip3 install -r requirements.txt

    • For CPU Version, Install PyTorch with pip3 install torch==1.6.0+cpu torchvision==0.7.0+cpu -f https://download.pytorch.org/whl/torch_stable.html

    • For GPU Version, Install Pytorch with pip3 install torch==1.6.0+cu101 torchvision==0.7.0+cu101 -f https://download.pytorch.org/whl/torch_stable.html

    • Start Powershell pwsh

    • For CPU Version, Run .\setup_docker_cpu.ps1

    • For GPU Version, Run .\setup_docker_gpu.ps1

    • CD To Server Dir cd server

    • Build DeepStack Server go build

    • Set Any of the APIS to enable; $env:VISION_DETECTION = "True", $env:VISION_FACE = "True", $env:VISION_SCENE = "True"

    • Run DeepStack .\server

    You can find all logs in the directory in the repo root. Note that DeepStack will be running on the default port 5000.

Integrations and Community

The DeepStack ecosystem includes a number of popular integrations and libraries built to expand the functionalities of the AI engine to serve IoT, industrial, monitoring and research applications. A number of them are listed below

Contributors Guide

(coming soon)

deepstack's People

Contributors

johnolafenwa avatar olafenwamoses avatar robmarkcole avatar abimbolaoo avatar

Watchers

 avatar

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.