{"id":18829810,"url":"https://github.com/gojibjib/jibjib-query","last_synced_at":"2025-07-16T04:42:09.723Z","repository":{"id":198259776,"uuid":"136379702","full_name":"gojibjib/jibjib-query","owner":"gojibjib","description":"Query service to serve the JibJib TensorFlow model","archived":false,"fork":false,"pushed_at":"2018-11-05T15:03:34.000Z","size":41,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T03:42:54.899Z","etag":null,"topics":["audioset","docker","flask","grpc","grpc-python","machine-learning-api","protobuf","python","rest-api","tensorflow","tensorflow-serving","vggish"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gojibjib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-06-06T19:57:38.000Z","updated_at":"2020-05-29T08:34:41.000Z","dependencies_parsed_at":"2023-10-05T03:54:38.826Z","dependency_job_id":null,"html_url":"https://github.com/gojibjib/jibjib-query","commit_stats":null,"previous_names":["gojibjib/jibjib-query"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/gojibjib/jibjib-query","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojibjib%2Fjibjib-query","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojibjib%2Fjibjib-query/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojibjib%2Fjibjib-query/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojibjib%2Fjibjib-query/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gojibjib","download_url":"https://codeload.github.com/gojibjib/jibjib-query/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojibjib%2Fjibjib-query/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265482205,"owners_count":23774017,"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":["audioset","docker","flask","grpc","grpc-python","machine-learning-api","protobuf","python","rest-api","tensorflow","tensorflow-serving","vggish"],"created_at":"2024-11-08T01:46:28.622Z","updated_at":"2025-07-16T04:42:09.699Z","avatar_url":"https://github.com/gojibjib.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [jibjib-query](https://github.com/gojibjib/jibjib-query)\n\nThis service utilizes [TensorFlow Serving](https://www.tensorflow.org/serving/) to load a [protobuffer-serialized](https://developers.google.com/protocol-buffers/) TensorFlow [model](https://github.com/gojibjib/jibjib-model) and make it accessible through a custom, [Flask-based](http://flask.pocoo.org/) REST API. \n\n\u003eTensorFlow Serving is an open-source software library for serving machine learning models. It deals with the inference aspect of machine learning, taking models after training and managing their lifetimes, providing clients with versioned access via a high-performance, reference-counted lookup table.\n\n## Repo layout\nThe complete list of JibJib repos is:\n\n- [jibjib](https://github.com/gojibjib/jibjib): Our Android app. Records sounds and looks fantastic.\n- [deploy](https://github.com/gojibjib/deploy): Instructions to deploy the JibJib stack.\n- [jibjib-model](https://github.com/gojibjib/jibjib-model): Code for training the machine learning model for bird classification\n- [jibjib-api](https://github.com/gojibjib/jibjib-api): Main API to receive database requests \u0026 audio files.\n- [jibjib-data](https://github.com/gojibjib/jibjib-data): A MongoDB instance holding information about detectable birds.\n- [jibjib-query](https://github.com/gojibjib/jibjib-query): A thin Python Flask API that handles communication with the [TensorFlow Serving](https://www.tensorflow.org/serving/) instance.\n- [gopeana](https://github.com/gojibjib/gopeana): A API client for [Europeana](https://europeana.eu), written in Go.\n- [voice-grabber](https://github.com/gojibjib/voice-grabber): A collection of scripts to construct the dataset required for model training\n\n## Installation\n### Remotely\nUse the [jibjib-api](https://github.com/gojibjib/jibjib-api) deployment [instructions](https://github.com/gojibjib/jibjib-api/tree/master/deploy) to deploy the whole microservices stack to AWS.\n\n### Locally\nClone the repo:\n\n```\ngit clone https://github.com/gojibjib/jibjib-query\ncd jibjib-query\n```\n\nGet the model:\n\n```\ncurl https://s3-eu-west-1.amazonaws.com/jibjib/model/jibjib_model_serving.tgz | tar -xvz -C app/input/model/\n```\n\nGet the mappings:\n\n```\ncurl https://s3-eu-west-1.amazonaws.com/jibjib/pickle/mapping_pickles.tgz | tar -xvz -C app/input/pickle\n```\n\nMake sure to have [Docker](https://docs.docker.com/install/#server) and [Docker Compose](https://docs.docker.com/compose/install/) installed, then start the stack:\n\n```\ndocker-compose up -d\n```\n\nTest it:\n\n```\ncurl -H 'Content-Type: application/octet-stream' -X POST --data-binary @bird_voice.mp4 http://localhost:8081/detect/binary\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgojibjib%2Fjibjib-query","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgojibjib%2Fjibjib-query","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgojibjib%2Fjibjib-query/lists"}