{"id":17114382,"url":"https://github.com/anthonychu/hackthenorth-ml-workshop","last_synced_at":"2026-01-25T20:03:30.114Z","repository":{"id":39736074,"uuid":"206660484","full_name":"anthonychu/hackthenorth-ml-workshop","owner":"anthonychu","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-24T23:25:03.000Z","size":6398,"stargazers_count":5,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-20T17:18:35.499Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/anthonychu.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-05T21:29:42.000Z","updated_at":"2023-10-17T04:17:39.000Z","dependencies_parsed_at":"2025-01-10T16:47:48.465Z","dependency_job_id":"03a3322f-e254-46f4-a9dc-cf12fec63081","html_url":"https://github.com/anthonychu/hackthenorth-ml-workshop","commit_stats":{"total_commits":14,"total_committers":2,"mean_commits":7.0,"dds":0.0714285714285714,"last_synced_commit":"849cbbac34cd9e9c0ec1b14d39ca8e598c8b14ce"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/anthonychu/hackthenorth-ml-workshop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonychu%2Fhackthenorth-ml-workshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonychu%2Fhackthenorth-ml-workshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonychu%2Fhackthenorth-ml-workshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonychu%2Fhackthenorth-ml-workshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anthonychu","download_url":"https://codeload.github.com/anthonychu/hackthenorth-ml-workshop/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anthonychu%2Fhackthenorth-ml-workshop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28757692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T16:32:25.380Z","status":"ssl_error","status_checked_at":"2026-01-25T16:32:09.189Z","response_time":113,"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":[],"created_at":"2024-10-14T17:16:59.491Z","updated_at":"2026-01-25T20:03:30.095Z","avatar_url":"https://github.com/anthonychu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hack the North 2019 - Machine Learning Workshop\n\nMicrosoft\n\n## Overview\n\nIn this workshop, you will build an image classifier with Azure Custom Vision Service and export it as a TensorFlow model. You will learn how to import the model into a Python application and use it to classify images.\n\n## Part 1 - Train and export the TensorFlow model\n\nFollow the following instructions to create a Custom Vision project. You can use the training images linked to in the tutorial to build a cats vs dogs image classifier.\n\n[**Tutorial: Train and export a TensorFlow model with Azure Custom Vision Service**](train-custom-vision-model.md)\n\n\u003e If you are feeling adventurous or if you have another idea in mind, you can download and use your own images to train a model that recognizes other objects.\n\n## Part 2 - Import and use the model in Python\n\n1. If you haven't cloned this repo already, clone it to your local machine.\n\n1. In a terminal, browse to the `app` folder.\n\n1. Create and activate Python 3 virtual environment by entering:\n\n    ```bash\n    python3.7 -m venv .venv\n    source .venv/bin/activate\n    # windows:\n    # .venv\\scripts\\activate\n    ```\n\n1. Copy the `model.pb` and `labels.txt` that you downloaded from Azure Custom Vision Service into *model* folder or use the ones that are already there.\n\n1. Run the script and a prediction should appear:\n\n    ```bash\n    python run.py\n    ```\n\n\n## Resources\n\nAzure Custom Vision Service can export models that run on many platforms.\n\n- [iOS and Android](https://docs.microsoft.com/azure/cognitive-services/custom-vision-service/export-your-model)\n- [Xamarin (cross-platform)](https://channel9.msdn.com/Shows/XamarinShow/Custom-Vision--Object-Detection-Made-Easy)\n- [Serverless HTTP API (Python)](https://docs.microsoft.com/azure/azure-functions/functions-machine-learning-tensorflow)\n- You can also export it as a Docker container (Dockerfile)\n\nAlso check out these other resources:\n\n- [Object detection with Custom Vision](https://docs.microsoft.com/azure/cognitive-services/custom-vision-service/get-started-build-detector)\n- [All Azure Cognitive Services](https://docs.microsoft.com/azure/cognitive-services/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonychu%2Fhackthenorth-ml-workshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanthonychu%2Fhackthenorth-ml-workshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanthonychu%2Fhackthenorth-ml-workshop/lists"}