{"id":38673841,"url":"https://github.com/droyed/tfodtools","last_synced_at":"2026-01-17T10:00:03.544Z","repository":{"id":288831626,"uuid":"407779476","full_name":"droyed/tfodtools","owner":"droyed","description":"Tensorflow Object Detection Tools : Start to finish on object detection project in 3 commands. Add mobile inferencing.","archived":false,"fork":false,"pushed_at":"2021-09-19T20:51:42.000Z","size":369,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-19T21:58:42.244Z","etag":null,"topics":["bash","object-detection","script","tensorflow","tensorflowjs","tools"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/droyed.png","metadata":{"files":{"readme":"README.rst","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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-09-18T06:41:57.000Z","updated_at":"2021-09-19T20:51:44.000Z","dependencies_parsed_at":"2025-04-19T21:58:53.195Z","dependency_job_id":"2576d264-5e27-44f0-b2ce-f31577246586","html_url":"https://github.com/droyed/tfodtools","commit_stats":null,"previous_names":["droyed/tfodtools"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/droyed/tfodtools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droyed%2Ftfodtools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droyed%2Ftfodtools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droyed%2Ftfodtools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droyed%2Ftfodtools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/droyed","download_url":"https://codeload.github.com/droyed/tfodtools/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/droyed%2Ftfodtools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28505570,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T06:57:29.758Z","status":"ssl_error","status_checked_at":"2026-01-17T06:56:03.931Z","response_time":85,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bash","object-detection","script","tensorflow","tensorflowjs","tools"],"created_at":"2026-01-17T10:00:02.542Z","updated_at":"2026-01-17T10:00:03.534Z","avatar_url":"https://github.com/droyed.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Tensorflow Object Detection Tools\n=================================\n\n|Py-Versions| |Bash-Version| |OS| |License|\n\nThis repository is conceived with the idea of simplifying `tensorflow objection detection workflow \u003chttps://tensorflow-object-detection-api-tutorial.readthedocs.io/en/latest/training.html\u003e`_ to minimize the hassles of setting up various components and maximizing automation between them. It also extends to incoporate a mobile-based inferencing of the trained models. Thus, this could work as an `end-to-end toolkit` solution for a tensorflow based objection detection project.\n\nSteps\n-----\n\n.. code-block:: console\n\n    $ cd shell_scripts\n\n**I.** Setup python virtual environment :\n\n.. code-block:: console\n\n    $ bash setup_tfODenv.sh\n\nThis will interactively setup the environment and will be a one-time process. It also sets up a config file that facilitates the next steps. So, training on new data or with new models would re-use this setup.\n\nBefore proceeding with next step, let's make sure we have the input data in the required format. It's explored in detail at `Tensorflow object detection data setup - Setup images and xmls \u003chttps://github.com/droyed/datatools/blob/main/docs/source/tfod_setup_imgs_xmls.md\u003e`_.\n\n**II.** Setup data and training :\n\n.. code-block:: console\n\n    $ bash setup_data_train.sh\n\nThis will setup everything needed for training, start it and also dynamically create `save_model.sh` and `create_mobile_optimized_model.sh` that are scripts needed later on for inferencing.\n\n**III.** Once done with training, we can save this model with :\n\n.. code-block:: console\n\n    $ bash save_model.sh\n\nThe saved model could then be loaded into tensorflow environment for inferencing.\n\n**IV. (Optional)** We can also create mobile optimized version for inferencing on mobile devices with :\n\n.. code-block:: console\n\n    $ bash create_mobile_optimized_model.sh\n\nThis will create `model.json` and `shard` files :\n\n.. code-block:: console\n\n    .\n    ├── group1-shard1of3.bin\n    ├── group1-shard2of3.bin\n    ├── group1-shard3of3.bin\n    └── model.json\n\n\n`Setup mobile inference \u003chttps://github.com/droyed/tfodtools/blob/main/docs/source/setup_mobile_inference.md\u003e`_ discusses a setup workflow on using these files for a mobile based inferencing.\n\n\n.. |Py-Versions| image:: https://img.shields.io/badge/Python-3.6+-blue\n   :target: https://github.com/droyed/tfodtools\n\n.. |Bash-Version| image:: https://img.shields.io/badge/Bash-4.2+-green\n   :target: https://github.com/droyed/tfodtools\n\n.. |OS| image:: https://img.shields.io/badge/Platform-%E2%98%AFLinux-9cf\n   :target: https://github.com/droyed/tfodtools\n\n.. |License| image:: https://img.shields.io/badge/license-MIT-green\n   :target: https://raw.githubusercontent.com/droyed/tfodtools/master/LICENSE\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdroyed%2Ftfodtools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdroyed%2Ftfodtools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdroyed%2Ftfodtools/lists"}