Skip to content

Commit

Permalink
fix: attemlpt to resolve reviewdog issues
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Wang <[email protected]>
  • Loading branch information
jim-wang-intel committed Feb 15, 2024
1 parent 887277b commit 65ead71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion download_models/downloadOVMSModels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ downloadYolov8FP32INT8() {
YOLOV8_MODEL_DOWNLOADER=$(docker images --format "{{.Repository}}" | grep "openvino_yolov8-download")
if [ -z "$YOLOV8_MODEL_DOWNLOADER" ]
then
docker build -t openvino_yolov8-download:1.1 $buildargs -f "$MODEL_EXEC_PATH"/Dockerfile.yolov8-download "$MODEL_EXEC_PATH"/
docker build -t openvino_yolov8-download:1.1 -f "$MODEL_EXEC_PATH"/Dockerfile.yolov8-download "$MODEL_EXEC_PATH"/
fi
docker run --rm -v "$modelDir/$yolov8ModelDirName/$modelPrecisionFP32INT8"/1/:/savedir openvino_yolov8-download:1.1
# make the yolov8ModelDirName owned by local user instead of root
Expand Down
1 change: 1 addition & 0 deletions download_models/model_build/quantize-model.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def download_file(

try:
response = requests.get(url=url,
timeout=15,
headers={"User-agent": "Mozilla/5.0"},
stream=True)
response.raise_for_status()
Expand Down

0 comments on commit 65ead71

Please sign in to comment.