├── .DS_Store ├── .dvc ├── .gitignore └── plots │ ├── confusion.json │ ├── default.json │ ├── scatter.json │ └── smooth.json ├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── LICENSE ├── Pipfile ├── Pipfile.lock ├── README.md ├── makefile ├── serving_patterns ├── .DS_Store ├── .dockerignore ├── docker-composes │ ├── docker-compose_api.yml │ ├── docker-compose_api_ab_test.yml │ ├── docker-compose_api_ms_horizontal.yml │ ├── docker-compose_image_ms_horizontal.yml │ ├── docker-compose_inceptionv3.yml │ ├── docker-compose_mobilenetv2.yml │ ├── docker-compose_mobilenetv2_plant.yml │ ├── docker-compose_resnet50_load_test.yml │ ├── docker-compose_resnet50_onnx.yml │ ├── docker-compose_resnet50_onnx_server.yml │ └── docker-compose_resnet50_tfs.yml ├── init_container │ ├── __init__.py │ └── download_model.py ├── locust_targets │ ├── Dockerfile_locust │ ├── __init__.py │ ├── api_ab_test.py │ ├── api_all.py │ ├── health_locust_file.py │ ├── image_classification_all.py │ ├── image_data.py │ └── proxy_image_classification_all.py ├── logging │ └── logging.conf ├── makefile ├── manifests │ ├── api_iris_asynchronous.yaml │ ├── api_iris_synchronous.yaml │ ├── api_iris_web_single.yaml │ ├── api_mobilenetv2.yaml │ ├── api_mobilenetv2_tfs_sidecar.yaml │ ├── api_resnet50_flask_onnx.yaml │ ├── api_resnet50_onnx.yaml │ ├── api_resnet50_onnx_server.yaml │ ├── api_resnet50_tfs.yaml │ ├── backend_iris_svc.yaml │ ├── backend_iris_tree.yaml │ ├── backend_mobilenetv2.yaml │ ├── backend_resnet50_onnx.yaml │ ├── backend_resnet50_onnx_server.yaml │ ├── backend_resnet50_tfs.yaml │ ├── locust.yaml │ ├── namespace.yaml │ ├── onnx_server_resnet50_server.yaml │ ├── proxy_iris.yaml │ ├── proxy_ms_horizontal.yaml │ ├── redis.yaml │ ├── tfs_mobilenetv2.yaml │ └── tfs_resnet50.yaml ├── models │ ├── .gitignore │ └── __init__.py ├── requirements │ ├── conda_pytorch.yaml │ ├── requirement_streamlit.txt │ ├── requirements_api.txt │ ├── requirements_api_onnx_server.txt │ ├── requirements_api_tf2.txt │ ├── requirements_api_tf2_serving.txt │ ├── requirements_flask.txt │ ├── requirements_init_container.txt │ ├── requirements_proxy.txt │ ├── requirements_pytorch.txt │ └── requirements_test.txt ├── scripts │ ├── onnx_runtime_server_entrypoint.sh │ ├── run_api.sh │ ├── run_backend.sh │ ├── test_request_api.sh │ ├── test_request_image_ms_horizontal.sh │ ├── test_request_inceptionv3.sh │ ├── test_request_mobilenetv2.sh │ ├── test_request_resnet50.sh │ └── tf_serving_entrypoint.sh ├── src │ ├── .DS_Store │ ├── __init__.py │ ├── api_composition_proxy │ │ ├── Dockerfile_proxy │ │ ├── __init__.py │ │ ├── apps │ │ │ ├── __init__.py │ │ │ └── proxy.py │ │ ├── configurations.py │ │ ├── constants.py │ │ ├── helpers.py │ │ ├── routers │ │ │ ├── __init__.py │ │ │ ├── abtest.py │ │ │ ├── health.py │ │ │ └── proxy.py │ │ └── run_proxy.sh │ ├── app │ │ ├── .DS_Store │ │ ├── __init__.py │ │ ├── api │ │ │ ├── __init__.py │ │ │ ├── _health.py │ │ │ ├── _predict.py │ │ │ ├── _predict_ab_test.py │ │ │ └── _predict_image.py │ │ ├── apps │ │ │ ├── __init__.py │ │ │ ├── app_ab_test.py │ │ │ ├── app_asynchronous.py │ │ │ ├── app_flask.py │ │ │ ├── app_image.py │ │ │ ├── app_synchronous.py │ │ │ └── app_web_single.py │ │ ├── backend │ │ │ ├── __init__.py │ │ │ └── prediction_batch │ │ │ │ ├── __init__.py │ │ │ │ ├── __main__.py │ │ │ │ └── prediction_batch.py │ │ ├── configurations.py │ │ ├── constants.py │ │ ├── ml │ │ │ ├── .DS_Store │ │ │ ├── __init__.py │ │ │ ├── active_predictor.py │ │ │ ├── base_predictor.py │ │ │ ├── data │ │ │ │ ├── good_cat.jpg │ │ │ │ ├── good_cat_base64.json │ │ │ │ ├── good_cat_base64_data.json │ │ │ │ ├── iris.jpg │ │ │ │ ├── iris.json │ │ │ │ ├── iris_image.json │ │ │ │ └── iris_image_data.json │ │ │ ├── extract_from_tfhub.py │ │ │ ├── extract_interface.py │ │ │ ├── inceptionv3 │ │ │ │ ├── .DS_Store │ │ │ │ ├── .gitignore │ │ │ │ ├── Dockerfile_api_inceptionv3 │ │ │ │ ├── Dockerfile_backend_inceptionv3 │ │ │ │ ├── Dockerfile_extract_inceptionv3 │ │ │ │ ├── Dockerfile_tfserving_inceptionv3 │ │ │ │ ├── __init__.py │ │ │ │ ├── data │ │ │ │ │ ├── good_cat.jpg │ │ │ │ │ ├── good_cat_base64.json │ │ │ │ │ ├── good_cat_base64_data.json │ │ │ │ │ └── imagenet_labels_1001.json │ │ │ │ ├── extract_inceptionv3.py │ │ │ │ ├── inceptionv3_predictor.py │ │ │ │ └── run_extract_inceptionv3.sh │ │ │ ├── iris │ │ │ │ ├── .gitignore │ │ │ │ ├── Dockerfile_api_iris │ │ │ │ ├── Dockerfile_backend_iris │ │ │ │ ├── __init__.py │ │ │ │ ├── data │ │ │ │ │ └── iris_label.csv │ │ │ │ ├── iris_predictor_onnx.py │ │ │ │ ├── iris_predictor_sklearn.py │ │ │ │ └── model │ │ │ │ │ ├── iris_svc.onnx │ │ │ │ │ ├── iris_svc.pkl │ │ │ │ │ ├── iris_svc_onnx_runtime.yaml │ │ │ │ │ ├── iris_svc_sklearn.yaml │ │ │ │ │ ├── iris_tree.onnx │ │ │ │ │ ├── iris_tree.pkl │ │ │ │ │ ├── iris_tree_onnx_runtime.yaml │ │ │ │ │ └── iris_tree_sklearn.yaml │ │ │ ├── mobilenetv2 │ │ │ │ ├── .gitignore │ │ │ │ ├── Dockerfile_api_mobilenetv2 │ │ │ │ ├── Dockerfile_backend_mobilenetv2 │ │ │ │ ├── Dockerfile_extract_mobilenetv2 │ │ │ │ ├── Dockerfile_tfserving_mobilenetv2 │ │ │ │ ├── __init__.py │ │ │ │ ├── data │ │ │ │ │ ├── good_cat.jpg │ │ │ │ │ ├── good_cat_base64.json │ │ │ │ │ ├── good_cat_base64_data.json │ │ │ │ │ └── imagenet_labels_1001.json │ │ │ │ ├── extract_mobilenetv2.py │ │ │ │ ├── mobilenetv2_predictor.py │ │ │ │ └── run_extract_mobilenetv2.sh │ │ │ ├── mobilenetv2_plant │ │ │ │ ├── .gitignore │ │ │ │ ├── Dockerfile_api_mobilenetv2_plant │ │ │ │ ├── Dockerfile_backend_mobilenetv2_plant │ │ │ │ ├── Dockerfile_extract_mobilenetv2_plant │ │ │ │ ├── Dockerfile_tfserving_mobilenetv2_plant │ │ │ │ ├── __init__.py │ │ │ │ ├── data │ │ │ │ │ ├── aiy_plants_V1_labelmap.csv │ │ │ │ │ ├── iris.jpg │ │ │ │ │ ├── iris_image.json │ │ │ │ │ └── iris_image_data.json │ │ │ │ ├── extract_mobilenetv2.py │ │ │ │ ├── mobilenetv2_predictor.py │ │ │ │ └── run_extract_mobilenetv2_plant.sh │ │ │ ├── resnet50_onnx │ │ │ │ ├── .gitignore │ │ │ │ ├── Dockerfile_api_resnet50_flask_onnx │ │ │ │ ├── Dockerfile_api_resnet50_onnx │ │ │ │ ├── Dockerfile_backend_resnet50_onnx │ │ │ │ ├── Dockerfile_extract_resnet50_onnx │ │ │ │ ├── Dockerfile_server_resnet50_onnx │ │ │ │ ├── __init__.py │ │ │ │ ├── data │ │ │ │ │ ├── good_cat.jpg │ │ │ │ │ ├── good_cat_base64.json │ │ │ │ │ ├── good_cat_base64_data.json │ │ │ │ │ └── imagenet_labels_1000.json │ │ │ │ ├── extract_resnet50.py │ │ │ │ ├── resnet50_predictor.py │ │ │ │ └── run_extract_resnet50_onnx.sh │ │ │ ├── resnet50_onnx_server │ │ │ │ ├── .gitignore │ │ │ │ ├── Dockerfile_api_resnet50_onnx_server │ │ │ │ ├── Dockerfile_backend_resnet50_onnx_server │ │ │ │ ├── Dockerfile_extract_resnet50_onnx_server │ │ │ │ ├── Dockerfile_server_resnet50_onnx_server │ │ │ │ ├── __init__.py │ │ │ │ ├── data │ │ │ │ │ ├── good_cat.jpg │ │ │ │ │ ├── good_cat_base64.json │ │ │ │ │ ├── good_cat_base64_data.json │ │ │ │ │ └── imagenet_labels_1000.json │ │ │ │ ├── extract_resnet50_server.py │ │ │ │ ├── proto │ │ │ │ │ ├── onnx-ml.proto │ │ │ │ │ ├── onnx_ml_pb2.py │ │ │ │ │ ├── predict.proto │ │ │ │ │ ├── predict_pb2.py │ │ │ │ │ ├── prediction_service.proto │ │ │ │ │ └── prediction_service_pb2.py │ │ │ │ ├── resnet50_server_predictor.py │ │ │ │ └── run_extract_resnet50_onnx_server.sh │ │ │ ├── resnet50_tfs │ │ │ │ ├── .gitignore │ │ │ │ ├── Dockerfile_api_resnet50_tfs │ │ │ │ ├── Dockerfile_backend_resnet50_tfs │ │ │ │ ├── Dockerfile_extract_resnet50_tfs │ │ │ │ ├── Dockerfile_tfserving_resnet50 │ │ │ │ ├── __init__.py │ │ │ │ ├── data │ │ │ │ │ ├── good_cat.jpg │ │ │ │ │ ├── good_cat_base64.json │ │ │ │ │ ├── good_cat_base64_data.json │ │ │ │ │ └── imagenet_labels_1001.json │ │ │ │ ├── extract_resnet50.py │ │ │ │ ├── resnet50_predictor.py │ │ │ │ └── run_extract_resnet50_tfs.sh │ │ │ ├── save_helper.py │ │ │ └── transformers.py │ │ └── routers │ │ │ ├── __init__.py │ │ │ ├── health.py │ │ │ ├── predict_ab_test.py │ │ │ ├── predict_asynchronous.py │ │ │ ├── predict_image.py │ │ │ ├── predict_synchronous.py │ │ │ └── predict_web_single.py │ ├── configurations.py │ ├── constants.py │ ├── helper.py │ ├── jobs │ │ ├── __init__.py │ │ └── store_data_job.py │ └── middleware │ │ ├── __init__.py │ │ ├── profiler.py │ │ └── redis_client.py └── tests │ ├── Dockerfile_test │ ├── __init__.py │ ├── conftest.py │ ├── test_api_composition_proxy_helpers.py │ ├── test_api_health.py │ ├── test_api_predict.py │ ├── test_api_predict_image.py │ ├── test_backend_prediction_batch.py │ ├── test_configurations.py │ ├── test_helper.py │ ├── test_jobs_store_data_job.py │ ├── test_ml_base_predictor.py │ ├── test_ml_extract_from_tfhub.py │ ├── test_ml_extract_interface.py │ ├── test_ml_save_helper.py │ ├── test_ml_transformers.py │ └── utils.py └── training_patterns ├── .dockerignore ├── dockerfiles ├── Dockerfile_train_iris_batch └── Dockerfile_train_iris_pipeline ├── makefile ├── requirements └── requirements_train.txt └── src ├── __init__.py ├── constants.py ├── iris_batch ├── __init__.py ├── data │ └── .gitignore ├── iris_trainer.py └── models │ └── .gitignore ├── iris_parameter_search ├── __init__.py ├── data │ ├── .gitignore │ ├── iris_data.csv │ └── iris_label.csv ├── iris_evaluate.py ├── iris_prepare_data.py ├── iris_train.py ├── models │ └── .gitignore ├── params.yaml └── run_dvc.sh ├── iris_pipeline ├── __init__.py ├── data │ ├── .gitignore │ ├── iris_data.csv │ └── iris_label.csv ├── iris_evaluate.py ├── iris_prepare_data.py ├── iris_train.py ├── models │ └── .gitignore ├── params.yaml └── run_dvc.sh ├── mnist ├── .gitignore ├── Dockerfile ├── MLproject ├── __init__.py ├── makefile ├── mnist_train.py └── requirements.txt ├── save_helper.py └── transformers.py /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/.DS_Store -------------------------------------------------------------------------------- /.dvc/.gitignore: -------------------------------------------------------------------------------- 1 | /config.local 2 | /tmp 3 | /cache 4 | -------------------------------------------------------------------------------- /.dvc/plots/confusion.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/.dvc/plots/confusion.json -------------------------------------------------------------------------------- /.dvc/plots/default.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/.dvc/plots/default.json -------------------------------------------------------------------------------- /.dvc/plots/scatter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/.dvc/plots/scatter.json -------------------------------------------------------------------------------- /.dvc/plots/smooth.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/.dvc/plots/smooth.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/LICENSE -------------------------------------------------------------------------------- /Pipfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/Pipfile -------------------------------------------------------------------------------- /Pipfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/Pipfile.lock -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/README.md -------------------------------------------------------------------------------- /makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/makefile -------------------------------------------------------------------------------- /serving_patterns/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/.DS_Store -------------------------------------------------------------------------------- /serving_patterns/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/.dockerignore -------------------------------------------------------------------------------- /serving_patterns/docker-composes/docker-compose_api.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/docker-composes/docker-compose_api.yml -------------------------------------------------------------------------------- /serving_patterns/docker-composes/docker-compose_api_ab_test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/docker-composes/docker-compose_api_ab_test.yml -------------------------------------------------------------------------------- /serving_patterns/docker-composes/docker-compose_api_ms_horizontal.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/docker-composes/docker-compose_api_ms_horizontal.yml -------------------------------------------------------------------------------- /serving_patterns/docker-composes/docker-compose_image_ms_horizontal.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/docker-composes/docker-compose_image_ms_horizontal.yml -------------------------------------------------------------------------------- /serving_patterns/docker-composes/docker-compose_inceptionv3.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/docker-composes/docker-compose_inceptionv3.yml -------------------------------------------------------------------------------- /serving_patterns/docker-composes/docker-compose_mobilenetv2.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/docker-composes/docker-compose_mobilenetv2.yml -------------------------------------------------------------------------------- /serving_patterns/docker-composes/docker-compose_mobilenetv2_plant.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/docker-composes/docker-compose_mobilenetv2_plant.yml -------------------------------------------------------------------------------- /serving_patterns/docker-composes/docker-compose_resnet50_load_test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/docker-composes/docker-compose_resnet50_load_test.yml -------------------------------------------------------------------------------- /serving_patterns/docker-composes/docker-compose_resnet50_onnx.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/docker-composes/docker-compose_resnet50_onnx.yml -------------------------------------------------------------------------------- /serving_patterns/docker-composes/docker-compose_resnet50_onnx_server.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/docker-composes/docker-compose_resnet50_onnx_server.yml -------------------------------------------------------------------------------- /serving_patterns/docker-composes/docker-compose_resnet50_tfs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/docker-composes/docker-compose_resnet50_tfs.yml -------------------------------------------------------------------------------- /serving_patterns/init_container/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/init_container/download_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/init_container/download_model.py -------------------------------------------------------------------------------- /serving_patterns/locust_targets/Dockerfile_locust: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/locust_targets/Dockerfile_locust -------------------------------------------------------------------------------- /serving_patterns/locust_targets/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/locust_targets/api_ab_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/locust_targets/api_ab_test.py -------------------------------------------------------------------------------- /serving_patterns/locust_targets/api_all.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/locust_targets/api_all.py -------------------------------------------------------------------------------- /serving_patterns/locust_targets/health_locust_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/locust_targets/health_locust_file.py -------------------------------------------------------------------------------- /serving_patterns/locust_targets/image_classification_all.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/locust_targets/image_classification_all.py -------------------------------------------------------------------------------- /serving_patterns/locust_targets/image_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/locust_targets/image_data.py -------------------------------------------------------------------------------- /serving_patterns/locust_targets/proxy_image_classification_all.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/locust_targets/proxy_image_classification_all.py -------------------------------------------------------------------------------- /serving_patterns/logging/logging.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/logging/logging.conf -------------------------------------------------------------------------------- /serving_patterns/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/makefile -------------------------------------------------------------------------------- /serving_patterns/manifests/api_iris_asynchronous.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/api_iris_asynchronous.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/api_iris_synchronous.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/api_iris_synchronous.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/api_iris_web_single.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/api_iris_web_single.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/api_mobilenetv2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/api_mobilenetv2.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/api_mobilenetv2_tfs_sidecar.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/api_mobilenetv2_tfs_sidecar.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/api_resnet50_flask_onnx.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/api_resnet50_flask_onnx.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/api_resnet50_onnx.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/api_resnet50_onnx.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/api_resnet50_onnx_server.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/api_resnet50_onnx_server.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/api_resnet50_tfs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/api_resnet50_tfs.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/backend_iris_svc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/backend_iris_svc.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/backend_iris_tree.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/backend_iris_tree.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/backend_mobilenetv2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/backend_mobilenetv2.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/backend_resnet50_onnx.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/backend_resnet50_onnx.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/backend_resnet50_onnx_server.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/backend_resnet50_onnx_server.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/backend_resnet50_tfs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/backend_resnet50_tfs.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/locust.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/locust.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/namespace.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/namespace.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/onnx_server_resnet50_server.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/onnx_server_resnet50_server.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/proxy_iris.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/proxy_iris.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/proxy_ms_horizontal.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/proxy_ms_horizontal.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/redis.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/redis.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/tfs_mobilenetv2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/tfs_mobilenetv2.yaml -------------------------------------------------------------------------------- /serving_patterns/manifests/tfs_resnet50.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/manifests/tfs_resnet50.yaml -------------------------------------------------------------------------------- /serving_patterns/models/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/models/.gitignore -------------------------------------------------------------------------------- /serving_patterns/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/requirements/conda_pytorch.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/requirements/conda_pytorch.yaml -------------------------------------------------------------------------------- /serving_patterns/requirements/requirement_streamlit.txt: -------------------------------------------------------------------------------- 1 | bokeh>=2.2.0 2 | streamlit>=0.65.2 -------------------------------------------------------------------------------- /serving_patterns/requirements/requirements_api.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/requirements/requirements_api.txt -------------------------------------------------------------------------------- /serving_patterns/requirements/requirements_api_onnx_server.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/requirements/requirements_api_onnx_server.txt -------------------------------------------------------------------------------- /serving_patterns/requirements/requirements_api_tf2.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/requirements/requirements_api_tf2.txt -------------------------------------------------------------------------------- /serving_patterns/requirements/requirements_api_tf2_serving.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/requirements/requirements_api_tf2_serving.txt -------------------------------------------------------------------------------- /serving_patterns/requirements/requirements_flask.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/requirements/requirements_flask.txt -------------------------------------------------------------------------------- /serving_patterns/requirements/requirements_init_container.txt: -------------------------------------------------------------------------------- 1 | azure-storage-blob>=2.1.0 2 | boto3>=1.14.38 3 | google-cloud>=0.34.0 -------------------------------------------------------------------------------- /serving_patterns/requirements/requirements_proxy.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/requirements/requirements_proxy.txt -------------------------------------------------------------------------------- /serving_patterns/requirements/requirements_pytorch.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/requirements/requirements_pytorch.txt -------------------------------------------------------------------------------- /serving_patterns/requirements/requirements_test.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/requirements/requirements_test.txt -------------------------------------------------------------------------------- /serving_patterns/scripts/onnx_runtime_server_entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/scripts/onnx_runtime_server_entrypoint.sh -------------------------------------------------------------------------------- /serving_patterns/scripts/run_api.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/scripts/run_api.sh -------------------------------------------------------------------------------- /serving_patterns/scripts/run_backend.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/scripts/run_backend.sh -------------------------------------------------------------------------------- /serving_patterns/scripts/test_request_api.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/scripts/test_request_api.sh -------------------------------------------------------------------------------- /serving_patterns/scripts/test_request_image_ms_horizontal.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/scripts/test_request_image_ms_horizontal.sh -------------------------------------------------------------------------------- /serving_patterns/scripts/test_request_inceptionv3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/scripts/test_request_inceptionv3.sh -------------------------------------------------------------------------------- /serving_patterns/scripts/test_request_mobilenetv2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/scripts/test_request_mobilenetv2.sh -------------------------------------------------------------------------------- /serving_patterns/scripts/test_request_resnet50.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/scripts/test_request_resnet50.sh -------------------------------------------------------------------------------- /serving_patterns/scripts/tf_serving_entrypoint.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/scripts/tf_serving_entrypoint.sh -------------------------------------------------------------------------------- /serving_patterns/src/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/.DS_Store -------------------------------------------------------------------------------- /serving_patterns/src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/api_composition_proxy/Dockerfile_proxy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/api_composition_proxy/Dockerfile_proxy -------------------------------------------------------------------------------- /serving_patterns/src/api_composition_proxy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/api_composition_proxy/apps/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/api_composition_proxy/apps/proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/api_composition_proxy/apps/proxy.py -------------------------------------------------------------------------------- /serving_patterns/src/api_composition_proxy/configurations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/api_composition_proxy/configurations.py -------------------------------------------------------------------------------- /serving_patterns/src/api_composition_proxy/constants.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/api_composition_proxy/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/api_composition_proxy/helpers.py -------------------------------------------------------------------------------- /serving_patterns/src/api_composition_proxy/routers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/api_composition_proxy/routers/abtest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/api_composition_proxy/routers/abtest.py -------------------------------------------------------------------------------- /serving_patterns/src/api_composition_proxy/routers/health.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/api_composition_proxy/routers/health.py -------------------------------------------------------------------------------- /serving_patterns/src/api_composition_proxy/routers/proxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/api_composition_proxy/routers/proxy.py -------------------------------------------------------------------------------- /serving_patterns/src/api_composition_proxy/run_proxy.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/api_composition_proxy/run_proxy.sh -------------------------------------------------------------------------------- /serving_patterns/src/app/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/.DS_Store -------------------------------------------------------------------------------- /serving_patterns/src/app/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/app/api/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/app/api/_health.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/api/_health.py -------------------------------------------------------------------------------- /serving_patterns/src/app/api/_predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/api/_predict.py -------------------------------------------------------------------------------- /serving_patterns/src/app/api/_predict_ab_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/api/_predict_ab_test.py -------------------------------------------------------------------------------- /serving_patterns/src/app/api/_predict_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/api/_predict_image.py -------------------------------------------------------------------------------- /serving_patterns/src/app/apps/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/app/apps/app_ab_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/apps/app_ab_test.py -------------------------------------------------------------------------------- /serving_patterns/src/app/apps/app_asynchronous.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/apps/app_asynchronous.py -------------------------------------------------------------------------------- /serving_patterns/src/app/apps/app_flask.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/apps/app_flask.py -------------------------------------------------------------------------------- /serving_patterns/src/app/apps/app_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/apps/app_image.py -------------------------------------------------------------------------------- /serving_patterns/src/app/apps/app_synchronous.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/apps/app_synchronous.py -------------------------------------------------------------------------------- /serving_patterns/src/app/apps/app_web_single.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/apps/app_web_single.py -------------------------------------------------------------------------------- /serving_patterns/src/app/backend/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/app/backend/prediction_batch/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/app/backend/prediction_batch/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/backend/prediction_batch/__main__.py -------------------------------------------------------------------------------- /serving_patterns/src/app/backend/prediction_batch/prediction_batch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/backend/prediction_batch/prediction_batch.py -------------------------------------------------------------------------------- /serving_patterns/src/app/configurations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/configurations.py -------------------------------------------------------------------------------- /serving_patterns/src/app/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/constants.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/.DS_Store -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/active_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/active_predictor.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/base_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/base_predictor.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/data/good_cat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/data/good_cat.jpg -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/data/good_cat_base64.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/data/good_cat_base64.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/data/good_cat_base64_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/data/good_cat_base64_data.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/data/iris.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/data/iris.jpg -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/data/iris.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/data/iris.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/data/iris_image.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/data/iris_image.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/data/iris_image_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/data/iris_image_data.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/extract_from_tfhub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/extract_from_tfhub.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/extract_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/extract_interface.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/inceptionv3/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/inceptionv3/.DS_Store -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/inceptionv3/.gitignore: -------------------------------------------------------------------------------- 1 | /model/* -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/inceptionv3/Dockerfile_api_inceptionv3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/inceptionv3/Dockerfile_api_inceptionv3 -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/inceptionv3/Dockerfile_backend_inceptionv3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/inceptionv3/Dockerfile_backend_inceptionv3 -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/inceptionv3/Dockerfile_extract_inceptionv3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/inceptionv3/Dockerfile_extract_inceptionv3 -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/inceptionv3/Dockerfile_tfserving_inceptionv3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/inceptionv3/Dockerfile_tfserving_inceptionv3 -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/inceptionv3/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/inceptionv3/data/good_cat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/inceptionv3/data/good_cat.jpg -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/inceptionv3/data/good_cat_base64.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/inceptionv3/data/good_cat_base64.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/inceptionv3/data/good_cat_base64_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/inceptionv3/data/good_cat_base64_data.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/inceptionv3/data/imagenet_labels_1001.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/inceptionv3/data/imagenet_labels_1001.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/inceptionv3/extract_inceptionv3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/inceptionv3/extract_inceptionv3.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/inceptionv3/inceptionv3_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/inceptionv3/inceptionv3_predictor.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/inceptionv3/run_extract_inceptionv3.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/inceptionv3/run_extract_inceptionv3.sh -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/iris/.gitignore: -------------------------------------------------------------------------------- 1 | /model -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/iris/Dockerfile_api_iris: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/iris/Dockerfile_api_iris -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/iris/Dockerfile_backend_iris: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/iris/Dockerfile_backend_iris -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/iris/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/iris/data/iris_label.csv: -------------------------------------------------------------------------------- 1 | id,label 2 | 0,setosa 3 | 1,versicolor 4 | 2,virginica 5 | -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/iris/iris_predictor_onnx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/iris/iris_predictor_onnx.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/iris/iris_predictor_sklearn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/iris/iris_predictor_sklearn.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/iris/model/iris_svc.onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/iris/model/iris_svc.onnx -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/iris/model/iris_svc.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/iris/model/iris_svc.pkl -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/iris/model/iris_svc_onnx_runtime.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/iris/model/iris_svc_onnx_runtime.yaml -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/iris/model/iris_svc_sklearn.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/iris/model/iris_svc_sklearn.yaml -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/iris/model/iris_tree.onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/iris/model/iris_tree.onnx -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/iris/model/iris_tree.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/iris/model/iris_tree.pkl -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/iris/model/iris_tree_onnx_runtime.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/iris/model/iris_tree_onnx_runtime.yaml -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/iris/model/iris_tree_sklearn.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/iris/model/iris_tree_sklearn.yaml -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2/.gitignore: -------------------------------------------------------------------------------- 1 | /model/* -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2/Dockerfile_api_mobilenetv2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2/Dockerfile_api_mobilenetv2 -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2/Dockerfile_backend_mobilenetv2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2/Dockerfile_backend_mobilenetv2 -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2/Dockerfile_extract_mobilenetv2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2/Dockerfile_extract_mobilenetv2 -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2/Dockerfile_tfserving_mobilenetv2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2/Dockerfile_tfserving_mobilenetv2 -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2/data/good_cat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2/data/good_cat.jpg -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2/data/good_cat_base64.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2/data/good_cat_base64.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2/data/good_cat_base64_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2/data/good_cat_base64_data.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2/data/imagenet_labels_1001.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2/data/imagenet_labels_1001.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2/extract_mobilenetv2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2/extract_mobilenetv2.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2/mobilenetv2_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2/mobilenetv2_predictor.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2/run_extract_mobilenetv2.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2/run_extract_mobilenetv2.sh -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2_plant/.gitignore: -------------------------------------------------------------------------------- 1 | /model/* -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2_plant/Dockerfile_api_mobilenetv2_plant: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2_plant/Dockerfile_api_mobilenetv2_plant -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2_plant/Dockerfile_backend_mobilenetv2_plant: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2_plant/Dockerfile_backend_mobilenetv2_plant -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2_plant/Dockerfile_extract_mobilenetv2_plant: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2_plant/Dockerfile_extract_mobilenetv2_plant -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2_plant/Dockerfile_tfserving_mobilenetv2_plant: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2_plant/Dockerfile_tfserving_mobilenetv2_plant -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2_plant/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2_plant/data/aiy_plants_V1_labelmap.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2_plant/data/aiy_plants_V1_labelmap.csv -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2_plant/data/iris.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2_plant/data/iris.jpg -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2_plant/data/iris_image.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2_plant/data/iris_image.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2_plant/data/iris_image_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2_plant/data/iris_image_data.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2_plant/extract_mobilenetv2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2_plant/extract_mobilenetv2.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2_plant/mobilenetv2_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2_plant/mobilenetv2_predictor.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/mobilenetv2_plant/run_extract_mobilenetv2_plant.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/mobilenetv2_plant/run_extract_mobilenetv2_plant.sh -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx/.gitignore: -------------------------------------------------------------------------------- 1 | /model/* -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx/Dockerfile_api_resnet50_flask_onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx/Dockerfile_api_resnet50_flask_onnx -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx/Dockerfile_api_resnet50_onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx/Dockerfile_api_resnet50_onnx -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx/Dockerfile_backend_resnet50_onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx/Dockerfile_backend_resnet50_onnx -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx/Dockerfile_extract_resnet50_onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx/Dockerfile_extract_resnet50_onnx -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx/Dockerfile_server_resnet50_onnx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx/Dockerfile_server_resnet50_onnx -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx/data/good_cat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx/data/good_cat.jpg -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx/data/good_cat_base64.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx/data/good_cat_base64.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx/data/good_cat_base64_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx/data/good_cat_base64_data.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx/data/imagenet_labels_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx/data/imagenet_labels_1000.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx/extract_resnet50.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx/extract_resnet50.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx/resnet50_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx/resnet50_predictor.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx/run_extract_resnet50_onnx.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx/run_extract_resnet50_onnx.sh -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx_server/.gitignore: -------------------------------------------------------------------------------- 1 | /model/* -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx_server/Dockerfile_api_resnet50_onnx_server: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx_server/Dockerfile_api_resnet50_onnx_server -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx_server/Dockerfile_backend_resnet50_onnx_server: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx_server/Dockerfile_backend_resnet50_onnx_server -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx_server/Dockerfile_extract_resnet50_onnx_server: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx_server/Dockerfile_extract_resnet50_onnx_server -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx_server/Dockerfile_server_resnet50_onnx_server: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx_server/Dockerfile_server_resnet50_onnx_server -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx_server/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx_server/data/good_cat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx_server/data/good_cat.jpg -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx_server/data/good_cat_base64.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx_server/data/good_cat_base64.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx_server/data/good_cat_base64_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx_server/data/good_cat_base64_data.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx_server/data/imagenet_labels_1000.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx_server/data/imagenet_labels_1000.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx_server/extract_resnet50_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx_server/extract_resnet50_server.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx_server/proto/onnx-ml.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx_server/proto/onnx-ml.proto -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx_server/proto/onnx_ml_pb2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx_server/proto/onnx_ml_pb2.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx_server/proto/predict.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx_server/proto/predict.proto -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx_server/proto/predict_pb2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx_server/proto/predict_pb2.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx_server/proto/prediction_service.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx_server/proto/prediction_service.proto -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx_server/proto/prediction_service_pb2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx_server/proto/prediction_service_pb2.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx_server/resnet50_server_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx_server/resnet50_server_predictor.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_onnx_server/run_extract_resnet50_onnx_server.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_onnx_server/run_extract_resnet50_onnx_server.sh -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_tfs/.gitignore: -------------------------------------------------------------------------------- 1 | /model/* -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_tfs/Dockerfile_api_resnet50_tfs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_tfs/Dockerfile_api_resnet50_tfs -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_tfs/Dockerfile_backend_resnet50_tfs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_tfs/Dockerfile_backend_resnet50_tfs -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_tfs/Dockerfile_extract_resnet50_tfs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_tfs/Dockerfile_extract_resnet50_tfs -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_tfs/Dockerfile_tfserving_resnet50: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_tfs/Dockerfile_tfserving_resnet50 -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_tfs/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_tfs/data/good_cat.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_tfs/data/good_cat.jpg -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_tfs/data/good_cat_base64.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_tfs/data/good_cat_base64.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_tfs/data/good_cat_base64_data.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_tfs/data/good_cat_base64_data.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_tfs/data/imagenet_labels_1001.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_tfs/data/imagenet_labels_1001.json -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_tfs/extract_resnet50.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_tfs/extract_resnet50.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_tfs/resnet50_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_tfs/resnet50_predictor.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/resnet50_tfs/run_extract_resnet50_tfs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/resnet50_tfs/run_extract_resnet50_tfs.sh -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/save_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/save_helper.py -------------------------------------------------------------------------------- /serving_patterns/src/app/ml/transformers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/ml/transformers.py -------------------------------------------------------------------------------- /serving_patterns/src/app/routers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/app/routers/health.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/routers/health.py -------------------------------------------------------------------------------- /serving_patterns/src/app/routers/predict_ab_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/routers/predict_ab_test.py -------------------------------------------------------------------------------- /serving_patterns/src/app/routers/predict_asynchronous.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/routers/predict_asynchronous.py -------------------------------------------------------------------------------- /serving_patterns/src/app/routers/predict_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/routers/predict_image.py -------------------------------------------------------------------------------- /serving_patterns/src/app/routers/predict_synchronous.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/routers/predict_synchronous.py -------------------------------------------------------------------------------- /serving_patterns/src/app/routers/predict_web_single.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/app/routers/predict_web_single.py -------------------------------------------------------------------------------- /serving_patterns/src/configurations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/configurations.py -------------------------------------------------------------------------------- /serving_patterns/src/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/constants.py -------------------------------------------------------------------------------- /serving_patterns/src/helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/helper.py -------------------------------------------------------------------------------- /serving_patterns/src/jobs/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/jobs/store_data_job.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/jobs/store_data_job.py -------------------------------------------------------------------------------- /serving_patterns/src/middleware/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/src/middleware/profiler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/middleware/profiler.py -------------------------------------------------------------------------------- /serving_patterns/src/middleware/redis_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/src/middleware/redis_client.py -------------------------------------------------------------------------------- /serving_patterns/tests/Dockerfile_test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/tests/Dockerfile_test -------------------------------------------------------------------------------- /serving_patterns/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /serving_patterns/tests/conftest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/tests/conftest.py -------------------------------------------------------------------------------- /serving_patterns/tests/test_api_composition_proxy_helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/tests/test_api_composition_proxy_helpers.py -------------------------------------------------------------------------------- /serving_patterns/tests/test_api_health.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/tests/test_api_health.py -------------------------------------------------------------------------------- /serving_patterns/tests/test_api_predict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/tests/test_api_predict.py -------------------------------------------------------------------------------- /serving_patterns/tests/test_api_predict_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/tests/test_api_predict_image.py -------------------------------------------------------------------------------- /serving_patterns/tests/test_backend_prediction_batch.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/tests/test_backend_prediction_batch.py -------------------------------------------------------------------------------- /serving_patterns/tests/test_configurations.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/tests/test_configurations.py -------------------------------------------------------------------------------- /serving_patterns/tests/test_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/tests/test_helper.py -------------------------------------------------------------------------------- /serving_patterns/tests/test_jobs_store_data_job.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/tests/test_jobs_store_data_job.py -------------------------------------------------------------------------------- /serving_patterns/tests/test_ml_base_predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/tests/test_ml_base_predictor.py -------------------------------------------------------------------------------- /serving_patterns/tests/test_ml_extract_from_tfhub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/tests/test_ml_extract_from_tfhub.py -------------------------------------------------------------------------------- /serving_patterns/tests/test_ml_extract_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/tests/test_ml_extract_interface.py -------------------------------------------------------------------------------- /serving_patterns/tests/test_ml_save_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/tests/test_ml_save_helper.py -------------------------------------------------------------------------------- /serving_patterns/tests/test_ml_transformers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/tests/test_ml_transformers.py -------------------------------------------------------------------------------- /serving_patterns/tests/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/serving_patterns/tests/utils.py -------------------------------------------------------------------------------- /training_patterns/.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/.dockerignore -------------------------------------------------------------------------------- /training_patterns/dockerfiles/Dockerfile_train_iris_batch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/dockerfiles/Dockerfile_train_iris_batch -------------------------------------------------------------------------------- /training_patterns/dockerfiles/Dockerfile_train_iris_pipeline: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/dockerfiles/Dockerfile_train_iris_pipeline -------------------------------------------------------------------------------- /training_patterns/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/makefile -------------------------------------------------------------------------------- /training_patterns/requirements/requirements_train.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/requirements/requirements_train.txt -------------------------------------------------------------------------------- /training_patterns/src/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /training_patterns/src/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/constants.py -------------------------------------------------------------------------------- /training_patterns/src/iris_batch/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /training_patterns/src/iris_batch/data/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/iris_batch/data/.gitignore -------------------------------------------------------------------------------- /training_patterns/src/iris_batch/iris_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/iris_batch/iris_trainer.py -------------------------------------------------------------------------------- /training_patterns/src/iris_batch/models/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/iris_batch/models/.gitignore -------------------------------------------------------------------------------- /training_patterns/src/iris_parameter_search/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /training_patterns/src/iris_parameter_search/data/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/iris_parameter_search/data/.gitignore -------------------------------------------------------------------------------- /training_patterns/src/iris_parameter_search/data/iris_data.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/iris_parameter_search/data/iris_data.csv -------------------------------------------------------------------------------- /training_patterns/src/iris_parameter_search/data/iris_label.csv: -------------------------------------------------------------------------------- 1 | id,label 2 | 0,setosa 3 | 1,versicolor 4 | 2,virginica 5 | -------------------------------------------------------------------------------- /training_patterns/src/iris_parameter_search/iris_evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/iris_parameter_search/iris_evaluate.py -------------------------------------------------------------------------------- /training_patterns/src/iris_parameter_search/iris_prepare_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/iris_parameter_search/iris_prepare_data.py -------------------------------------------------------------------------------- /training_patterns/src/iris_parameter_search/iris_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/iris_parameter_search/iris_train.py -------------------------------------------------------------------------------- /training_patterns/src/iris_parameter_search/models/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/iris_parameter_search/models/.gitignore -------------------------------------------------------------------------------- /training_patterns/src/iris_parameter_search/params.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/iris_parameter_search/params.yaml -------------------------------------------------------------------------------- /training_patterns/src/iris_parameter_search/run_dvc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/iris_parameter_search/run_dvc.sh -------------------------------------------------------------------------------- /training_patterns/src/iris_pipeline/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /training_patterns/src/iris_pipeline/data/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/iris_pipeline/data/.gitignore -------------------------------------------------------------------------------- /training_patterns/src/iris_pipeline/data/iris_data.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/iris_pipeline/data/iris_data.csv -------------------------------------------------------------------------------- /training_patterns/src/iris_pipeline/data/iris_label.csv: -------------------------------------------------------------------------------- 1 | id,label 2 | 0,setosa 3 | 1,versicolor 4 | 2,virginica 5 | -------------------------------------------------------------------------------- /training_patterns/src/iris_pipeline/iris_evaluate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/iris_pipeline/iris_evaluate.py -------------------------------------------------------------------------------- /training_patterns/src/iris_pipeline/iris_prepare_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/iris_pipeline/iris_prepare_data.py -------------------------------------------------------------------------------- /training_patterns/src/iris_pipeline/iris_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/iris_pipeline/iris_train.py -------------------------------------------------------------------------------- /training_patterns/src/iris_pipeline/models/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/iris_pipeline/models/.gitignore -------------------------------------------------------------------------------- /training_patterns/src/iris_pipeline/params.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/iris_pipeline/params.yaml -------------------------------------------------------------------------------- /training_patterns/src/iris_pipeline/run_dvc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/iris_pipeline/run_dvc.sh -------------------------------------------------------------------------------- /training_patterns/src/mnist/.gitignore: -------------------------------------------------------------------------------- 1 | mlruns/* -------------------------------------------------------------------------------- /training_patterns/src/mnist/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/mnist/Dockerfile -------------------------------------------------------------------------------- /training_patterns/src/mnist/MLproject: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/mnist/MLproject -------------------------------------------------------------------------------- /training_patterns/src/mnist/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /training_patterns/src/mnist/makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/mnist/makefile -------------------------------------------------------------------------------- /training_patterns/src/mnist/mnist_train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/mnist/mnist_train.py -------------------------------------------------------------------------------- /training_patterns/src/mnist/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/mnist/requirements.txt -------------------------------------------------------------------------------- /training_patterns/src/save_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/save_helper.py -------------------------------------------------------------------------------- /training_patterns/src/transformers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/shibuiwilliam/ml-system-in-action/HEAD/training_patterns/src/transformers.py --------------------------------------------------------------------------------