-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/switch to detection model (#77)
* load model from ultralytics * remove pyrovision deps * update docker file * set default weights * comment * use onnx * fix deps * fix test * move to python 3.8 * wrong deletion * extract pred * missing numpy * python 3.8 * remove install via req * fix docs deps
- Loading branch information
1 parent
87bbcc4
commit 33c928f
Showing
8 changed files
with
124 additions
and
75 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
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,18 +1,20 @@ | ||
FROM pyronear/pyro-vision:latest | ||
FROM python:3.8.1-slim | ||
|
||
ENV PYTHONUNBUFFERED 1 | ||
ENV PYTHONDONTWRITEBYTECODE 1 | ||
|
||
|
||
COPY ./requirements.txt /tmp/requirements.txt | ||
COPY ./README.md /tmp/README.md | ||
COPY ./setup.py /tmp/setup.py | ||
COPY ./pyroengine /tmp/pyroengine | ||
COPY ./requirements.txt /tmp/requirements.txt | ||
|
||
RUN pip install --upgrade pip setuptools wheel \ | ||
RUN apt update \ | ||
&& apt install -y git \ | ||
&& apt install ffmpeg libsm6 libxext6 -y \ | ||
&& apt install -y gcc python3-dev \ | ||
&& apt install --upgrade pip setuptools wheel \ | ||
&& pip install -e /tmp/. \ | ||
&& pip cache purge \ | ||
&& apt-get autoremove -y \ | ||
&& rm -rf /var/lib/apt/lists/* \ | ||
&& rm -rf /root/.cache/pip | ||
|
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,2 +1,3 @@ | ||
sphinx<3.5.0 | ||
sphinx-rtd-theme==0.4.3 | ||
sphinx>=3.0.0,!=3.5.0 | ||
Jinja2<3.1 |
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
Oops, something went wrong.