-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from byarbrough/maker
Maker
- Loading branch information
Showing
5 changed files
with
30 additions
and
9 deletions.
There are no files selected for viewing
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,6 @@ | ||
*.md | ||
!README.md | ||
data/* | ||
models/* | ||
infer/* | ||
.git |
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 |
---|---|---|
@@ -1,23 +1,29 @@ | ||
FROM tensorflow/tensorflow:1.15.0-py3 | ||
# this is based on https://github.com/IntelAI/OpenVINO-model-server/blob/master/Dockerfile | ||
|
||
WORKDIR /app | ||
|
||
# basic install | ||
RUN apt-get update && apt-get install -y --no-install-recommends \ | ||
ca-certificates \ | ||
libsm6 \ | ||
libxext6 \ | ||
libxrender-dev \ | ||
libgtk-3-0 \ | ||
lsb-core \ | ||
sudo | ||
|
||
# additional python dependencies | ||
copy requirements.txt /app | ||
RUN pip --no-cache-dir install -r requirements.txt | ||
|
||
# download OpenVINO | ||
RUN curl -o GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB | ||
RUN apt-key add GPG-PUB-KEY-INTEL-SW-PRODUCTS-2019.PUB | ||
RUN echo "deb https://apt.repos.intel.com/openvino/2019/ all main" > /etc/apt/sources.list.d/intel-openvino-2019.list | ||
# install OpenVINO | ||
RUN apt-get update && apt-get install -y intel-openvino-dev-ubuntu18-2019.3.376 | ||
RUN cd /opt/intel/openvino/deployment_tools/model_optimizer/install_prerequisites/ && ./install_prerequisites_tf.sh | ||
RUN /opt/intel/openvino/bin/setupvars.sh | ||
|
||
# additional python dependencies | ||
copy requirements.txt /app | ||
RUN pip --no-cache-dir install -r requirements.txt | ||
# enviornment setup | ||
RUN echo source /opt/intel/openvino/bin/setupvars.sh >> /root/.bashrc | ||
CMD ["/bin/bash", "-l"] |
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
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
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
networkx==2.3 | ||
Pillow | ||
SciPy | ||
SciPy | ||
opencv-python-headless |