Code Monkey home page Code Monkey logo

dc_23_new's Introduction

Dockerized TIMM Computer Vision Backend & FastAPI

Experimenting with setting up a backend computer vision classification service with huggingfaces pytorch-image-models (TIMM).

Contents

1. Introduction and Overview

This is a project set up for the course "Data Challenges SoSe23" at Goethe Uni. It features a backend for a computer vision leveraging the possability of easily extending the 'timm' to easily spin up some SOTA deep learning models. In this project we use these models for transfer learning to classify ancient coins. The application is dockerized to make development easy and the service is exposed via FastAPI endpoints allowing the models to be interacted with and train and infer with http requests.

Features

  • backend for flexible transfer learning and inference using timm models
  • FastAPI app to expose backend

2. Getting Started

Dependencies

How to set up dev environment

  • Install and Setup dependancies as described in their documentations

Start only Pytorch Project:

  • Open VsCode command palette(strg+p)
  • run Dev Containers: Open Folder in Container
  • select pytorch_service folder

With API:

  • Open VsCode command palette(strg+p)
  • run Dev Containers: Open Folder in Container
  • select src folder
  • from terminal in the container run: uvicorn api.src.fastapi_server:app --reload --host 0.0.0.0 --port 80 to start server
  • In browser enter http://localhost:8000/docs for Swagger endpoint documentation

3. Directory Structure

4. CI Pipeline

5. Licence

This project is licensed under the MIT licence - see LICENSE file for details.

6. Acknowledgments

Inspiration, usefull repos, code snippets, etc.

dc_23_new's People

Contributors

reinhud avatar

Watchers

 avatar  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.