Code Monkey home page Code Monkey logo

Comments (1)

RoyAn2386 avatar RoyAn2386 commented on June 3, 2024

Hi Everyone, Who's trying to install mmtracking.

It's really complicated when we install it. I stuck with it for 1 week and then found out one easier way to install it.
I'll share with you and hope it helps you guys.

Mmtracking

  1. Pull this image from Docker Hub:

    docker pull uestc417/tracking

  2. Make container from the above image file:

    docker run -it --name an_gpu_2_mmtracking --shm-size=16GB --ipc=host -v /home/user/storage/d_ssd/an:/an --gpus '"device=2"' uestc417/tracking:latest

  3. Attach into the above container, git mmtracking by this command:

    **git clone https://github.com/open-mmlab/mmtracking.git**

  4. Move into mmtracking folder and verification:

    cd mmtracking

    install requirements:

    pip install -r requirements/build.txt
    pip install -v -e . # or "python [setup.py](http://setup.py/) develop"

    python demo/demo_mot_vis.py configs/mot/deepsort/sort_faster-rcnn_fpn_4e_mot17-private.py --input demo/demo.mp4 --output mot.mp4

    If use MOTChallenge evaluation plz install extra dependencies follow:

    pip install git+https://github.com/JonathonLuiten/TrackEval.git

    Got some errors?

    1. Upgrade pip conmand: /root/anaconda3/bin/python -m pip install --upgrade pip
    2. Upgrade numpy: pip install --upgrade numpy
    3. Upgrade pandas: pip install --upgrade pandas

    If the error shown about “QT”, “xcb” problems, try some solutions follows:

    1. Use opencv headless instead of opencv
    pip uninstall opencv-python
    pip install opencv-python-headless
    
    1. Install this dependencies:

      apt-get install '^libxcb.*-dev' libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev libxkbcommon-dev libxkbcommon-x11-dev

    2. Turn off display function:

      export DISPLAY=:0

      export QT_QPA_PLATFORM=offscreen

  5. Done!

from mmtracking.

Related Issues (20)

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.