Skip to content

Commit 732974e

Browse files
committed
debug OpenFace build
1 parent 453e3e2 commit 732974e

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

.github/workflows/build-docker.yml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
runs-on: ubuntu-latest
3333
steps:
3434
- uses: actions/checkout@v4
35-
- run: source ./tool.sh && build_image opencv latest docker_OpenCV/Dockerfile && push_image
35+
- run: source ./tool.sh && build_image opencv latest docker_OpenCV/Dockerfile && push_image
3636

3737
# paddleocr-models: temp disable the build caused by the paddle run on CPU server
3838
qpod_PaddleOCR_cuda112:
@@ -42,8 +42,8 @@ jobs:
4242
- uses: actions/checkout@v4
4343
- run: |
4444
source ./tool.sh && free_diskspace
45-
build_image paddleocr-cuda112 latest docker_PaddleOCR/Dockerfile --build-arg "BASE_IMG=cuda_11.2"
46-
echo 'build_image paddleocr-models latest docker_PaddleOCR/models.Dockerfile --build-arg "BASE_IMG=paddleocr-cuda112" --build-arg "BASE_NAMESPACE_SRC=docker.io/library"'
45+
build_image paddleocr-cuda112 latest docker_PaddleOCR/Dockerfile --build-arg "BASE_IMG=cuda_11.2"
46+
echo 'build_image paddleocr-models latest docker_PaddleOCR/models.Dockerfile --build-arg "BASE_IMG=paddleocr-cuda112" --build-arg "BASE_NAMESPACE_SRC=docker.io/library"'
4747
push_image
4848
4949
qpod_PaddleOCR_cuda120:
@@ -53,8 +53,8 @@ jobs:
5353
- uses: actions/checkout@v4
5454
- run: |
5555
source ./tool.sh && free_diskspace
56-
build_image paddleocr-cuda120 latest docker_PaddleOCR/Dockerfile --build-arg "BASE_IMG=cuda_12.0"
57-
build_image doc-ai-cuda120 latest docker_PaddleOCR/Dockerfile --build-arg "BASE_IMG=py-nlp-cuda120"
56+
build_image paddleocr-cuda120 latest docker_PaddleOCR/Dockerfile --build-arg "BASE_IMG=cuda_12.0"
57+
build_image doc-ai-cuda120 latest docker_PaddleOCR/Dockerfile --build-arg "BASE_IMG=py-nlp-cuda120"
5858
push_image
5959
6060
@@ -66,11 +66,8 @@ jobs:
6666
- uses: actions/checkout@v4
6767
- run: |
6868
source ./tool.sh
69-
export IMG_PREFIX_SRC_BAK="${IMG_PREFIX_SRC}" && export IMG_PREFIX_SRC="docker.io/library"
70-
build_image openface-src latest docker_OpenFace/src.Dockerfile && push_image src
71-
export IMG_PREFIX_SRC="${IMG_PREFIX_SRC_BAK}"
72-
build_image openface latest docker_OpenFace/Dockerfile && push_image
73-
69+
export IMG_PREFIX_SRC="docker.io/library" && build_image openface-src latest docker_OpenFace/OpenFace-src.Dockerfile && push_image src
70+
export IMG_PREFIX_SRC="${IMG_PREFIX_DST}" && build_image openface latest docker_OpenFace/OpenFace.Dockerfile && push_image openface
7471
7572
# To build HF model image for a single model, simple run: `build_image_hf_model bert-base-cased`
7673
qpod_HuggingFaceModels:

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# QPod Media Lab - Docker Image Stack
22

33
[![License](https://img.shields.io/badge/License-BSD%203--Clause-green.svg)](https://opensource.org/licenses/BSD-3-Clause)
4-
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/QPod/media-lab/docker.yml?branch=main)](https://github.com/QPod/media-lab/actions/workflows/docker.yml)
4+
[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/QPod/media-lab/build-docker.yml?branch=main)](https://github.com/QPod/media-lab/actions/workflows/build-docker.yml)
55
[![Join the Gitter Chat](https://img.shields.io/gitter/room/nwjs/nw.js.svg)](https://gitter.im/QPod/)
66
[![Recent Code Update](https://img.shields.io/github/last-commit/QPod/media-lab.svg)](https://github.com/QPod/media-lab/stargazers)
77

@@ -13,7 +13,8 @@ Please generously STAR★ our project or donate to us! [![GitHub Starts](https:
1313
## Building blocks for multimedia media projects
1414

1515
Building blocks for the following multimedia project use cases are supported in this project:
16+
1617
- Image/Video and Audio feature extraction
17-
- [Face Landmark Detection](https://hub.docker.com/search?q=qpod%2Fopenface)
1818
- [OCR](https://hub.docker.com/search?q=qpod%2Fpaddleocr) and [Document Intelligence](https://hub.docker.com/search?q=qpod%2Fdoc-ai)
1919
- [Transformer models based on HuggingFace transformers](https://hub.docker.com/r/qpod/huggingface-model/tags)
20+
- [Face Landmark Detection](https://hub.docker.com/search?q=qpod%2Fopenface)
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)