Giter Site home page Giter Site logo

deg-installation-instructions's Introduction

deg-installation-instructions

Tested on Ubuntu 21.04 with CUDA version 11.4 and nvidia driver 470.86

If you don't know what you're doing just copy paste this entire block into the terminal.

# Create a venv
python3 -m venv /share/python-venvs/deg

# Open a new terminal and activate the venv
ae_deg

# ae_deg will work if the /share/.bashrc is present, otherwise do this
# source /share/python-venvs/deg/bin/activate

# upgrade pip etc.
pip install --upgrade pip wheel setuptools

# some pre-reqs
pip install numpy cython

# non-headless opencv gives issues
pip install opencv-python-headless

# install pytorch using this URL
# the helper tool on the website gives a broken URL
# so I had to find it manually ¯\_(ツ)_/¯
pip install https://download.pytorch.org/whl/cu111/torch-1.9.0%2Bcu111-cp39-cp39-linux_x86_64.whl

# install vidio and deepethogram from my fork
# the maintainer hasn't updated the setup.py to use opencv-python-headless
# so the "official" version is broken ¯\_(ツ)_/¯
pip install git+https://github.com/kushalkolar/vidio.git
pip install git+https://github.com/kushalkolar/deepethogram.git

Finally to launch deepethogram, after activating the environment:

deepethogram

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.