-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Add build matrix for docker images, update images #1936
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
a8cb1a3
Add build matrix and build various images
stes 16dd348
Adapt dockerfiles
stes 53c3b25
Improve testing
stes bb1d610
Add logging functionality
stes 192fb4e
Use nvidia cuda docker images with cudnn8
jeylau dd252b9
adjust versions in Dockerfile, clean args, add minor comments, dlc 2.3.5
maryapp 6cd026e
commit that corresponds to last 2.3.5 build for 11.4.3
maryapp a650234
update python to 3.9 and cuda 11.7
maryapp 66c548a
python3.8 and python paths fix (for eventual 3.9), numpy 1.21.6
maryapp ccf3fb3
tf 10, dlc setup only
maryapp 332d797
numpy 1.24.4
maryapp 35e32b3
Python3.9, TF 2.10, numpy 1.24.0
maryapp 56eb050
Update docker/Dockerfile.base
maryapp 4bb565a
formatter indent 4
maryapp 86bb096
note on gui dockerfile
maryapp c316497
Merge branch 'DeepLabCut:main' into docker-add-build-matrix
stes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
adjust versions in Dockerfile, clean args, add minor comments, dlc 2.3.5
- Loading branch information
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,21 +1,17 @@ | ||
| ARG CUDA_VERSION=11.4.0-cudnn8-runtime-ubuntu20.04 | ||
| ARG DEEPLABCUT_VERSION=2.2.1.1 | ||
| ARG CUDA_VERSION | ||
| ARG DEEPLABCUT_VERSION | ||
|
|
||
| FROM deeplabcut/deeplabcut:${DEEPLABCUT_VERSION}-base-cuda${CUDA_VERSION} | ||
|
|
||
| RUN DEBIAN_FRONTEND=noninteractive apt-get update -yy \ | ||
| && DEBIAN_FRONTEND=noninteractive \ | ||
| apt-get install -yy --no-install-recommends \ | ||
| libgtk-3-dev python3-wxgtk4.0 locales \ | ||
| && apt-get install -yy --no-install-recommends libgtk-3-dev python3-wxgtk4.0 locales \ | ||
| && apt-get clean \ | ||
| && rm -rf /var/lib/apt/lists/* \ | ||
| && locale-gen en_US.UTF-8 en_GB.UTF-8 | ||
|
|
||
| ARG DEEPLABCUT_VERSION=2.2.1.1 | ||
| RUN pip3 install --no-cache-dir --upgrade pip \ | ||
| && pip3 install --no-cache-dir --upgrade deeplabcut[gui]==${DEEPLABCUT_VERSION} numpy==1.19.5 decorator==4.4.2 tensorflow==2.5.0 protobuf==3.20.1 \ | ||
| ARG DEEPLABCUT_VERSION | ||
| RUN pip3 install --no-cache-dir --upgrade deeplabcut[gui]==${DEEPLABCUT_VERSION} \ | ||
| && pip3 list | ||
|
|
||
|
|
||
|
|
||
| ENV DLClight=False | ||
| CMD ["python3", "-m", "deeplabcut"] |
This file contains hidden or 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,10 +1,23 @@ | ||
| ARG CUDA_VERSION=11.4.0-cudnn8-runtime-ubuntu20.04 | ||
| ARG DEEPLABCUT_VERSION=2.2.1.1 | ||
| FROM deeplabcut/deeplabcut:${DEEPLABCUT_VERSION}-gui-cuda${CUDA_VERSION} | ||
|
|
||
| RUN pip install --no-cache-dir jupyter | ||
| COPY ./examples /app/examples | ||
| CMD ["jupyter", "notebook", \ | ||
| "--no-browser", \ | ||
| "--NotebookApp.password", "sha3_224:019dc9326f7c:689d6c568f840f6126fb438ba0cdb8ce94ddd0769399e152caf79931", \ | ||
| "--ip", "0.0.0.0" ] | ||
| ARG CUDA_VERSION | ||
| ARG DEEPLABCUT_VERSION | ||
| FROM deeplabcut/deeplabcut:${DEEPLABCUT_VERSION}-core-cuda${CUDA_VERSION} | ||
|
|
||
| RUN pip3 install --no-cache-dir \ | ||
| notebook==6.4.12 \ | ||
| && pip3 list | ||
|
|
||
| ENV PYTHONPATH "${PYTHONPATH}:/usr/lib/python3" | ||
|
|
||
| ARG USER=docker_user | ||
| RUN useradd -m ${USER} \ | ||
| && cp /root/.bashrc /home/${USER}/ \ | ||
| && mkdir /app /data /codebase \ | ||
| && chown -R --from=root ${USER} /home/${SUSER} \ | ||
| /app /data /codebase | ||
| ENV HOME /home/${USER} | ||
| WORKDIR ${HOME} | ||
| USER ${USER} | ||
|
|
||
| RUN jupyter notebook --generate-config | ||
| EXPOSE 8888 | ||
| ENTRYPOINT ["jupyter", "notebook", "--no-browser", "--ip", "0.0.0.0"] |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.