*ObjDetApp* deploys a pytorch model for object detection

Overview
*ObjDetApp* deploys a pytorch model for object detection

   ____  _     _ _____       _
  / __ \| |   (_)  __ \     | |     /\
 | |  | | |__  _| |  | | ___| |_   /  \   _ __  _ __
 | |  | | '_ \| | |  | |/ _ \ __| / /\ \ | '_ \| '_ \
 | |__| | |_) | | |__| |  __/ |_ / ____ \| |_) | |_) |
  \____/|_.__/| |_____/ \___|\__/_/    \_\ .__/| .__/
             _/ |                        | |   | |
            |__/                         |_|   |_|

====================================================================
CONTENTS                                                  *Contents*

    1. Introduction .................... |Introduction|
    2. Prerequisites ................... |Prerequisites|
    3. Usage ........................... |Usage|
        3.1 WebApp ..................... |WebAppUsage|
        3.2 GUIApp ..................... |GUIAppUsage|
    4. Credits ......................... |Credits|
    5. License ......................... |License|

====================================================================
Section 1: Introduction                               *Introduction*

This is a side project (or not qualified as a project) derived from a school
assignment, which focuses on the deployment of a pytorch model for object
detection, hence the name.

The model's performance is really bad but this app doesn't focus on that anyway.
You can help me perfect and package it by forking.

App tested on Linux.

====================================================================
Section 2: Prerequisites                             *Prerequisites*

Get trained *model_state_dict.pth* from https://drive.google.com/file/d/1oi8iIQGn0OFSRf44hWLI8kCbj5OrlkCy/view?usp=sharing and put it under this folder.

>
    sudo apt install default-libmysqlclient-dev
    pip install -r requirements.txt
    npm install
<

====================================================================
Section 3: Usage                                             *Usage*

WebApp:~

                                                       *WebAppUsage*

Start backend server (Default port: 5000)

>
    FLASK_ENV=development FLASK_APP=server.py flask run
<

Build (Default into build/)

>
    npm run build
<

Serve the webpage (Default port: 5512)

>
    npm run dev
<

GUIApp:~

                                                       *GUIAppUsage*

>
    python gui.py
<

====================================================================
Section 4: Credits                                         *Credits*

ObjDetApp wouldn't be possible without these wonderful projects.

https://github.com/pallets/flask
https://github.com/pytorch/pytorch

Shout out to @sgrvinod for his great tutorial.

https://github.com/sgrvinod/a-PyTorch-Tutorial-to-Object-Detection/

====================================================================
Section 5: License                                         *License*

Copyright © 2021 Will Chao. Distributed under the MIT license.

====================================================================
vim:tw=78:ts=8:ft=help:noet:nospell
Owner
Will Chao
SWE in China, Front-end developer, Vim enthusiast
Will Chao
The fastai book, published as Jupyter Notebooks

English / Spanish / Korean / Chinese / Bengali / Indonesian The fastai book These notebooks cover an introduction to deep learning, fastai, and PyTorc

fast.ai 17k Jan 07, 2023
Reinforcement learning framework and algorithms implemented in PyTorch.

Reinforcement learning framework and algorithms implemented in PyTorch.

Robotic AI & Learning Lab Berkeley 2.1k Jan 04, 2023
Rethinking Portrait Matting with Privacy Preserving

Rethinking Portrait Matting with Privacy Preserving This is the official repository of the paper Rethinking Portrait Matting with Privacy Preserving.

184 Jan 03, 2023
Public Models considered for emotion estimation from EEG

Emotion-EEG Set of models for emotion estimation from EEG. Composed by the combination of two deep-learing models learning together (RNN and CNN) with

Victor Delvigne 21 Dec 23, 2022
PSGAN running with ncnn⚡妆容迁移/仿妆⚡Imitation Makeup/Makeup Transfer⚡

PSGAN running with ncnn⚡妆容迁移/仿妆⚡Imitation Makeup/Makeup Transfer⚡

WuJinxuan 144 Dec 26, 2022
DCGAN-tensorflow - A tensorflow implementation of Deep Convolutional Generative Adversarial Networks

DCGAN in Tensorflow Tensorflow implementation of Deep Convolutional Generative Adversarial Networks which is a stabilize Generative Adversarial Networ

Taehoon Kim 7.1k Dec 29, 2022
Tensorflow Repo for "DeepGCNs: Can GCNs Go as Deep as CNNs?"

DeepGCNs: Can GCNs Go as Deep as CNNs? In this work, we present new ways to successfully train very deep GCNs. We borrow concepts from CNNs, mainly re

Guohao Li 612 Nov 15, 2022
E-RAFT: Dense Optical Flow from Event Cameras

E-RAFT: Dense Optical Flow from Event Cameras This is the code for the paper E-RAFT: Dense Optical Flow from Event Cameras by Mathias Gehrig, Mario Mi

Robotics and Perception Group 71 Dec 12, 2022
A large-scale video dataset for the training and evaluation of 3D human pose estimation models

ASPset-510 (Australian Sports Pose Dataset) is a large-scale video dataset for the training and evaluation of 3D human pose estimation models. It contains 17 different amateur subjects performing 30

Aiden Nibali 25 Jun 20, 2021
official implemntation for "Contrastive Learning with Stronger Augmentations"

CLSA CLSA is a self-supervised learning methods which focused on the pattern learning from strong augmentations. Copyright (C) 2020 Xiao Wang, Guo-Jun

Lab for MAchine Perception and LEarning (MAPLE) 47 Nov 29, 2022
Official codebase for "B-Pref: Benchmarking Preference-BasedReinforcement Learning" contains scripts to reproduce experiments.

B-Pref Official codebase for B-Pref: Benchmarking Preference-BasedReinforcement Learning contains scripts to reproduce experiments. Install conda env

48 Dec 20, 2022
Starter kit for getting started in the Music Demixing Challenge.

Music Demixing Challenge - Starter Kit 👉 Challenge page This repository is the Music Demixing Challenge Submission template and Starter kit! Clone th

AIcrowd 106 Dec 20, 2022
A repo to show how to use custom dataset to train s2anet, and change backbone to resnext101

A repo to show how to use custom dataset to train s2anet, and change backbone to resnext101

jedibobo 3 Dec 28, 2022
SCNet: Learning Semantic Correspondence

SCNet Code Region matching code is contributed by Kai Han ([email protected]). Dense

Kai Han 34 Sep 06, 2022
Provably Rare Gem Miner.

Provably Rare Gem Miner just another random project by yoyoismee.eth useful link main site market contract useful thing you should know read contract

34 Nov 22, 2022
This repository contains the code for the paper ``Identifiable VAEs via Sparse Decoding''.

Sparse VAE This repository contains the code for the paper ``Identifiable VAEs via Sparse Decoding''. Data Sources The datasets used in this paper wer

Gemma Moran 17 Dec 12, 2022
Epidemiology analysis package

zEpid zEpid is an epidemiology analysis package, providing easy to use tools for epidemiologists coding in Python 3.5+. The purpose of this library is

Paul Zivich 111 Jan 08, 2023
Introduction to CPM

CPM CPM is an open-source program on large-scale pre-trained models, which is conducted by Beijing Academy of Artificial Intelligence and Tsinghua Uni

Tsinghua AI 136 Dec 23, 2022
Pretty Tensor - Fluent Neural Networks in TensorFlow

Pretty Tensor provides a high level builder API for TensorFlow. It provides thin wrappers on Tensors so that you can easily build multi-layer neural networks.

Google 1.2k Dec 29, 2022
The official implementation code of "PlantStereo: A Stereo Matching Benchmark for Plant Surface Dense Reconstruction."

PlantStereo This is the official implementation code for the paper "PlantStereo: A Stereo Matching Benchmark for Plant Surface Dense Reconstruction".

Wang Qingyu 14 Nov 28, 2022