{"id":15735723,"url":"https://github.com/simonrw/tensorflow-serving-modelbuild-testing","last_synced_at":"2025-03-31T04:14:56.213Z","repository":{"id":50189560,"uuid":"193979001","full_name":"simonrw/tensorflow-serving-modelbuild-testing","owner":"simonrw","description":"Test directory for serving tensorflow models on the GPU, and sharing the workload","archived":false,"fork":false,"pushed_at":"2021-06-01T23:54:07.000Z","size":273,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-06T08:45:16.273Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonrw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-06-26T21:18:06.000Z","updated_at":"2019-06-27T19:39:17.000Z","dependencies_parsed_at":"2022-09-24T07:11:29.065Z","dependency_job_id":null,"html_url":"https://github.com/simonrw/tensorflow-serving-modelbuild-testing","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonrw%2Ftensorflow-serving-modelbuild-testing","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonrw%2Ftensorflow-serving-modelbuild-testing/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonrw%2Ftensorflow-serving-modelbuild-testing/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonrw%2Ftensorflow-serving-modelbuild-testing/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonrw","download_url":"https://codeload.github.com/simonrw/tensorflow-serving-modelbuild-testing/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246413237,"owners_count":20773053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-04T01:14:48.539Z","updated_at":"2025-03-31T04:14:56.189Z","avatar_url":"https://github.com/simonrw.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tensorflow serving testing\n\nTesting with multiple models with the GPU.\n\n*Note: versions are very important; the tensorflow serving version must\nmatch at least the patch level of the tensorflow package used to build\nthe models. The requirements.txt file specifies `tensorflow==1.13.1`,\nand the image chosen is 1.13.0. These have been tested to work\ntogether.*\n\n## Getting started\n\nTo get set up with a virtual environment and all of the required\npackages, run `bin/setup`.\n\n## Files\n\n**`build_models.py`**\n\nThis creates the models, from keras applications models. The models\ninclude initial stages that resize the images to the correct dimensions,\nand scale the values correctly. Models are saved to the `models`\nsubdirectory for reading by tensorflow serving.\n\n**`runserving.sh`**\n\nThis code runs tensorflow serving from within docker. It defaults to\nusing the NVIDIA runtime and a GPU image, but the specific images and\nsetup can be customised.\n\n**`client.py`**\n\nThis sends requests to the server via the HTTP REST API. Arguments are:\n\n* the file to send (included in the directory is `cat.jpg` and\n  `cat_scaled.jpg` which is a different size). This allows different\n  image resolutions to be tested; and\n* the model to choose.\n\nvim: tw=72\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonrw%2Ftensorflow-serving-modelbuild-testing","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonrw%2Ftensorflow-serving-modelbuild-testing","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonrw%2Ftensorflow-serving-modelbuild-testing/lists"}