File tree Expand file tree Collapse file tree
client/python/tensorflow-serving-api/samples Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -608,15 +608,15 @@ test_functional: venv
608608
609609test_python_clients :
610610 @echo " Prepare docker image"
611- @docker build . -f tests/python/Dockerfile -t python_client_test
611+ @docker build --build-arg http_proxy= " $( http_proxy ) " --build-arg https_proxy= " $( https_proxy ) " . -f tests/python/Dockerfile -t python_client_test
612612 @echo " Dropping test container if exist"
613613 @docker rm --force $(PYTHON_CLIENT_TEST_CONTAINER_NAME ) || true
614614 @echo " Download models"
615615 @if [ ! -d " tests/python/models" ]; then cd tests/python && \
616616 mkdir models && \
617- docker run -u $(id -u ) :$(id -g ) -v ${PWD} /tests/python/models:/models openvino/ubuntu20_dev:2024.6.0 omz_downloader --name resnet-50-tf --output_dir /models && \
618- docker run -u $(id -u ) :$(id -g ) -v ${PWD} /tests/python/models:/models:rw openvino/ubuntu20_dev:2024.6.0 omz_converter --name resnet-50-tf --download_dir /models --output_dir /models --precisions FP32 && \
619- docker run -u $(id -u ) :$(id -g ) -v ${PWD} /tests/python/models:/models:rw openvino/ubuntu20_dev:2024.6.0 mv /models/public/resnet-50-tf/FP32 /models/public/resnet-50-tf/1; fi
617+ docker run -u $(id -u ) :$(id -g ) -e http_proxy= " $( http_proxy ) " -e https_proxy= " $( https_proxy ) " - v ${PWD} /tests/python/models:/models openvino/ubuntu20_dev:2024.6.0 omz_downloader --name resnet-50-tf --output_dir /models && \
618+ docker run -u $(id -u ) :$(id -g ) -e http_proxy= " $( http_proxy ) " -e https_proxy= " $( https_proxy ) " - v ${PWD} /tests/python/models:/models:rw openvino/ubuntu20_dev:2024.6.0 omz_converter --name resnet-50-tf --download_dir /models --output_dir /models --precisions FP32 && \
619+ docker run -u $(id -u ) :$(id -g ) -e http_proxy= " $( http_proxy ) " -e https_proxy= " $( https_proxy ) " - v ${PWD} /tests/python/models:/models:rw openvino/ubuntu20_dev:2024.6.0 mv /models/public/resnet-50-tf/FP32 /models/public/resnet-50-tf/1; fi
620620 @echo " Start test container"
621621 @docker run -d --rm --name $(PYTHON_CLIENT_TEST_CONTAINER_NAME ) -v ${PWD} /tests/python/models/public/resnet-50-tf:/models/public/resnet-50-tf -p $(PYTHON_CLIENT_TEST_REST_PORT ) :8000 -p $(PYTHON_CLIENT_TEST_GRPC_PORT ) :9000 openvino/model_server:latest --model_name resnet --model_path /models/public/resnet-50-tf --port 9000 --rest_port 8000 && \
622622 sleep 10
Original file line number Diff line number Diff line change 1- tensorflow-serving-api = =2.16.1
2- tensorflow = =2.16.1
1+ tensorflow-serving-api > =2.16.1
2+ tensorflow > =2.16.1
33protobuf <= 5.29.6
Original file line number Diff line number Diff line change @@ -2,12 +2,12 @@ boto3==1.33.13
22checksec-py == 0.7.4
33docker == 7.1.0
44grpcio == 1.60.0
5- paramiko == 3.4 .0
5+ paramiko == 5.0 .0
66psutil == 5.9.6
77pytest == 9.0.3
88pytest-json == 0.4.0
9- tensorflow-serving-api = =2.16.1
10- tensorflow = =2.16.1
9+ tensorflow-serving-api > =2.16.1
10+ tensorflow > =2.16.1
1111requests == 2.33.0
1212retry == 0.9.2
1313protobuf <= 5.29.6
You can’t perform that action at this time.
0 commit comments