Skip to content

Commit

Permalink
github-ci: follow up on face-detection test
Browse files Browse the repository at this point in the history
Signed-off-by: Abhishek Gaikwad <[email protected]>
  • Loading branch information
gaikwadabhishek committed Dec 12, 2023
1 parent c7f2046 commit 639b858
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/transformer-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ jobs:
make -B -C $GITHUB_WORKSPACE/transformers/keras_preprocess all
pytest -v test_keras_transformer.py
popd
- name: Build and Test FACE_DETECTIOn
- name: Build and Test FACE_DETECTION
if: ${{ env.FACE_DETECTION_ENABLE == 'true' }}
run: |
docker system prune -a -f --volumes
Expand All @@ -275,9 +275,9 @@ jobs:
make -B all
popd
# test image
mkdir -p /root/.kaggle
echo ${{ secrets.KAGGLE_CREDS_JSON }} > /root/.kaggle/kaggle.json
chmod 600 /root/.kaggle/kaggle.json
sudo mkdir -p /root/.kaggle
echo ${{ secrets.KAGGLE_CREDS_JSON }} | sudo tee /root/.kaggle/kaggle.json > /dev/null
sudo chmod 600 /root/.kaggle/kaggle.json
mkdir -p $GITHUB_WORKSPACE/transformers/face_detection/model
kaggle datasets download -d sambitmukherjee/caffe-face-detector-opencv-pretrained-model
unzip caffe-face-detector-opencv-pretrained-model.zip -d $GITHUB_WORKSPACE/transformers/face_detection/model/
Expand Down

0 comments on commit 639b858

Please sign in to comment.