Skip to content

Commit

Permalink
Dockerize demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Agustín Castro committed Mar 1, 2024
1 parent 5c7b4c5 commit 20949c0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions demos/multi_camera/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM ultralytics/yolov5:v6.2

# Install Norfair
RUN pip install git+https://github.com/tryolabs/norfair.git@master#egg=norfair

WORKDIR /demo/src/
1 change: 1 addition & 0 deletions demos/multi_camera/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
yolov5==6.1.8
8 changes: 8 additions & 0 deletions demos/multi_camera/run_gpu.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env -S bash -e
docker build . -t norfair-multicamera
docker run -it --rm \
--gpus all \
--shm-size=1gb \
-v `realpath .`:/demo \
norfair-multicamera \
bash
File renamed without changes.

0 comments on commit 20949c0

Please sign in to comment.