Skip to content

Commit

Permalink
minor clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
gfursin committed Aug 8, 2023
1 parent c415bd4 commit 805a717
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cm-mlops/script/build-docker-image/examples/0-common.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ rem set DOCKER_OS_VER=22.04
set DOCKER_OS_VER=23.04
set DOCKER_PIP_EXTRA_FLAGS=--break-system-packages

set DOCKER_IMAGE_NAME=cm-base
rem set DOCKER_IMAGE_NAME=cm-script-app-image-classification-onnx-py
rem set DOCKER_IMAGE_POST_FILE=%CD%\extra-cmd.cm-script-app-image-classification-onnx-py
rem set DOCKER_IMAGE_NAME=cm-base
set DOCKER_IMAGE_NAME=cm-script-app-image-classification-onnx-py
set DOCKER_IMAGE_POST_FILE=%CD%\extra-cmd.cm-script-app-image-classification-onnx-py

rem set DOCKER_IMAGE_TAG=%DOCKER_OS%-%DOCKER_OS_VER%-20230804

Expand Down
Binary file modified cm-mlops/script/build-docker-image/examples/computer_mouse.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ rem call this script with computer_mouse.jpg as input

call 0-common.bat

docker run -v %CD%:/tmp/host -it --rm cknowledge/cm-script-app-image-classification-onnx-py:ubuntu-23.04-latest -c "time cmr 'python app image-classification onnx' --adr.python.name=cm --input=/tmp/host/%1"
rem docker run -v %CD%:/tmp/host -it --rm cknowledge/cm-script-app-image-classification-onnx-py:ubuntu-23.04-latest -c "time cmr 'python app image-classification onnx' --adr.python.name=cm --input=/tmp/host/%1"
docker run -v %CD%:/tmp/host -it --rm %DOCKER_IMAGE_REPO%/%DOCKER_IMAGE_NAME%:%DOCKER_IMAGE_TAG% -c "time cmr 'python app image-classification onnx' --adr.python.name=cm --input=/tmp/host/%1"

0 comments on commit 805a717

Please sign in to comment.