Giter VIP home page Giter VIP logo

sailingposeestimation's Introduction

Background

The following repository contains Axels work from my summer internship 2023. A detailed log of my progress and steps taken/decisions can be found here: https://docs.google.com/document/d/1GLqgyrLra6IkQDmGH3Nt_NHsXbvvfJEm1sujFL1-Qis/edit#heading=h.1a9j6dmma3eq

Environment

The code requires Python 3.8.x and CUDA 11.1 to work. The superresolution i.e. RVRT doesnt run on Windows without major rewrites. Windows should work for everything else after possibly changing some of the paths in the code. Everything works on Linux.

Important files

The most important files are:

  • PCT/clean.ipynb contains example usage of the model api
  • PCT/model_api.py the "backend" code

Setup instructions

clone this repo (make sure you have signed in / added ssh to your terminal so you can clone it https://github.com/settings/ssh/new)

git clone https://github.com/naynasa/SailingPoseEstimation
cd SailingPoseEstimation

create the conda environment, PCT_linux and install cudatoolkit in the env

conda create -n PCT_linux python=3.8
conda activate PCT_linux
conda config --add channels conda-forge
conda install cudatoolkit=11.1

install the packages, note it will work with building the wheel for mmcv-full for a long times, 20+ min. This is normal and seems to be a known issue with mmcv but we cant avoid it, only affects installation time though.

python -m pip install --upgrade pip
pip uninstall torch torchvision torchaudio
pip install torch==1.8.0+cu111 torchvision==0.9.0+cu111 -f https://download.pytorch.org/whl/torch_stable.html
pip install -r requirements.txt

Dont forget to add the videos to the videos folder before running the code.

sailingposeestimation's People

Contributors

naynasa avatar

Stargazers

Jia Fu avatar

Watchers

 avatar

Forkers

spashami

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.