-
-
Notifications
You must be signed in to change notification settings - Fork 466
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
02_data_science_toolkit/02_yolo_object_detection/.dockerignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
visualizations | ||
README.md |
29 changes: 29 additions & 0 deletions
29
02_data_science_toolkit/02_yolo_object_detection/Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM ubuntu:16.04 | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y apt-utils && \ | ||
apt-get install -y git && \ | ||
apt-get install -y unzip && \ | ||
apt-get install -y curl && \ | ||
apt-get install -y python-dev && \ | ||
apt-get install -y python3-pip && \ | ||
apt-get install -y libgtk2.0-dev | ||
|
||
RUN mkdir project | ||
COPY . project | ||
WORKDIR project | ||
|
||
RUN git clone https://github.com/ultralytics/yolov3.git | ||
WORKDIR yolov3 | ||
|
||
RUN pip3 install --upgrade pip && \ | ||
pip3 install --upgrade setuptools && \ | ||
pip3 install Cython && \ | ||
pip3 install numpy && \ | ||
pip3 install "pillow<7" && \ | ||
pip3 install -r requirements.txt && \ | ||
pip3 install torchvision | ||
|
||
ENV DEBIAN_FRONTEND teletype |