*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
(under submission) Bayesian Integration of a Generative Prior for Image Restoration

BIGPrior: Towards Decoupling Learned Prior Hallucination and Data Fidelity in Image Restoration Authors: Majed El Helou, and Sabine Süsstrunk {Note: p

Majed El Helou 22 Dec 17, 2022
How to Train a GAN? Tips and tricks to make GANs work

(this list is no longer maintained, and I am not sure how relevant it is in 2020) How to Train a GAN? Tips and tricks to make GANs work While research

Soumith Chintala 10.8k Dec 31, 2022
Implementation of UNET architecture for Image Segmentation.

Semantic Segmentation using UNET This is the implementation of UNET on Carvana Image Masking Kaggle Challenge About the Dataset This dataset contains

Anushka agarwal 4 Dec 21, 2021
Random Erasing Data Augmentation. Experiments on CIFAR10, CIFAR100 and Fashion-MNIST

Random Erasing Data Augmentation =============================================================== black white random This code has the source code for

Zhun Zhong 654 Dec 26, 2022
Collection of in-progress libraries for entity neural networks.

ENN Incubator Collection of in-progress libraries for entity neural networks: Neural Network Architectures for Structured State Entity Gym: Abstractio

25 Dec 01, 2022
🔥 Real-time Super Resolution enhancement (4x) with content loss and relativistic adversarial optimization 🔥

🔥 Real-time Super Resolution enhancement (4x) with content loss and relativistic adversarial optimization 🔥

Rishik Mourya 48 Dec 20, 2022
Official Implementation of DE-DETR and DELA-DETR in "Towards Data-Efficient Detection Transformers"

DE-DETRs By Wen Wang, Jing Zhang, Yang Cao, Yongliang Shen, and Dacheng Tao This repository is an official implementation of DE-DETR and DELA-DETR in

Wen Wang 61 Dec 12, 2022
DSEE: Dually Sparsity-embedded Efficient Tuning of Pre-trained Language Models

DSEE Codes for [Preprint] DSEE: Dually Sparsity-embedded Efficient Tuning of Pre-trained Language Models Xuxi Chen, Tianlong Chen, Yu Cheng, Weizhu Ch

VITA 4 Dec 27, 2021
Interpretation of T cell states using reference single-cell atlases

Interpretation of T cell states using reference single-cell atlases ProjecTILs is a computational method to project scRNA-seq data into reference sing

Cancer Systems Immunology Lab 139 Jan 03, 2023
Implementation of Kronecker Attention in Pytorch

Kronecker Attention Pytorch Implementation of Kronecker Attention in Pytorch. Results look less than stellar, but if someone found some context where

Phil Wang 16 May 06, 2022
ML-PersonalWork - Big assignment PersonalWork in Machine Learning, 2021 autumn BUAA.

ML-PersonalWork - Big assignment PersonalWork in Machine Learning, 2021 autumn BUAA.

Snapdragon Lee 2 Dec 16, 2022
JittorVis - Visual understanding of deep learning models

JittorVis: Visual understanding of deep learning model JittorVis is an open-source library for understanding the inner workings of Jittor models by vi

thu-vis 182 Jan 06, 2023
The implementation of "Bootstrapping Semantic Segmentation with Regional Contrast".

ReCo - Regional Contrast This repository contains the source code of ReCo and baselines from the paper, Bootstrapping Semantic Segmentation with Regio

Shikun Liu 128 Dec 30, 2022
Sound and Cost-effective Fuzzing of Stripped Binaries by Incremental and Stochastic Rewriting

StochFuzz: A New Solution for Binary-only Fuzzing StochFuzz is a (probabilistically) sound and cost-effective fuzzing technique for stripped binaries.

Zhuo Zhang 164 Dec 05, 2022
Effect of Different Encodings and Distance Functions on Quantum Instance-based Classifiers

Effect of Different Encodings and Distance Functions on Quantum Instance-based Classifiers The repository contains the code to reproduce the experimen

Alessandro Berti 4 Aug 24, 2022
[CVPR 2021] Unsupervised Degradation Representation Learning for Blind Super-Resolution

DASR Pytorch implementation of "Unsupervised Degradation Representation Learning for Blind Super-Resolution", CVPR 2021 [arXiv] Overview Requirements

Longguang Wang 318 Dec 24, 2022
End-to-end Temporal Action Detection with Transformer. [Under review]

TadTR: End-to-end Temporal Action Detection with Transformer By Xiaolong Liu, Qimeng Wang, Yao Hu, Xu Tang, Song Bai, Xiang Bai. This repo holds the c

Xiaolong Liu 105 Dec 25, 2022
An energy estimator for eyeriss-like DNN hardware accelerator

Energy-Estimator-for-Eyeriss-like-Architecture- An energy estimator for eyeriss-like DNN hardware accelerator This is an energy estimator for eyeriss-

HEXIN BAO 2 Mar 26, 2022
FANet - Real-time Semantic Segmentation with Fast Attention

FANet Real-time Semantic Segmentation with Fast Attention Ping Hu, Federico Perazzi, Fabian Caba Heilbron, Oliver Wang, Zhe Lin, Kate Saenko , Stan Sc

Ping Hu 42 Nov 30, 2022
CR-Fill: Generative Image Inpainting with Auxiliary Contextual Reconstruction. ICCV 2021

crfill Usage | Web App | | Paper | Supplementary Material | More results | code for paper ``CR-Fill: Generative Image Inpainting with Auxiliary Contex

182 Dec 20, 2022