Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create ReadMe.md #11

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions ReadMe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
**Step By Step Installation of FairMOT on Linux Environment **
<br/>

Requirements
- Nvidia GPU

1. Clone the FairMOT repo
- git clone https://github.com/microsoft/FairMOT.git
2. Installing FFMpeg
- sudo apt install ffmpeg
- sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev libgpac-dev \
libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libx11-dev \
libxext-dev libxfixes-dev pkg-config texi2html zlib1g-dev
3. Install torch and torchvision Libraries for linux enviroments
- pip install torch==1.4 torchvision==0.5
4. Moving to our cloned repository
- cd FairMOT
- pip install -r requirements.txt
- cd src/lib/models/networks/DCNv2
- sh make.sh
5. Download Pretrained Model from google drive and save in FairMOT/src/lib/models
6. Move to Base directory
7. You can input a raw video and get the demo video by running src/demo.py and get the mp4 format of the demo video:
- !python demo.py mot --load_model lib/models/all_dla34.pth
8. Results of this process can be found in 'FairMOT/results' folder
Working Colab can be found [here](https://colab.research.google.com/drive/1j-UobIDfZBm5aW1TPi2t55WYxVpySab4?usp=sharing)