{"id":22063144,"url":"https://github.com/sshane/traffic-lights","last_synced_at":"2025-05-12T23:08:48.532Z","repository":{"id":117899698,"uuid":"239435292","full_name":"sshane/traffic-lights","owner":"sshane","description":"Model and data to build a traffic-light-recognizing openpilot model","archived":false,"fork":false,"pushed_at":"2020-09-07T04:15:25.000Z","size":15503,"stargazers_count":25,"open_issues_count":2,"forks_count":9,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-12T23:08:40.937Z","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/sshane.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-10T05:31:31.000Z","updated_at":"2025-01-28T19:22:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"7182fce4-1a42-4fd0-bd7e-a9f7f44b4831","html_url":"https://github.com/sshane/traffic-lights","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/sshane%2Ftraffic-lights","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshane%2Ftraffic-lights/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshane%2Ftraffic-lights/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sshane%2Ftraffic-lights/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sshane","download_url":"https://codeload.github.com/sshane/traffic-lights/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253837407,"owners_count":21971983,"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-11-30T18:29:29.006Z","updated_at":"2025-05-12T23:08:48.524Z","avatar_url":"https://github.com/sshane.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# traffic-lights\n\nTo download the full dataset, install [Resilio Sync](https://www.resilio.com/individuals/) and sync [this folder (27.6 GB).](https://link.resilio.com/#f=Traffic%20Lights%20Data\u0026sz=3E10\u0026t=2\u0026s=I6YQPFIH6FCRURBIZPTET5JAB7X43U7QZHF6LWNFSCOAQDYQ3GGA\u0026i=C426FTJRJUFVXKGK4WIR5U22BXEV44DFQ\u0026v=2.6\u0026a=2)\n\nIf you would like to download a sample of the dataset to see if it matches your needs, here's a few sample sets:\n- [Small sample set, 200 images each class. Total zipped size: 707 MB](https://link.resilio.com/#f=Traffic%20Lights%20Small\u0026sz=74E7\u0026t=2\u0026s=ZKDEP4CNVMHKYZCXE4ZZKYG4DO2UXG3RSWUPPCVNLB4JH4ZLFHJA\u0026i=CEV5W25MHKRQQVP7OTRGS6RBH7T7NKZ3P\u0026v=2.6\u0026a=2)\n- [Large sample set, 500 images each class. Total zipped size: 1.56 GB](https://link.resilio.com/#f=Traffic%20Lights%20Large\u0026sz=16E8\u0026t=2\u0026s=KX5CB5LILKQ4STGPE2E6MY2RDYXVOCO3S42GIKZ6N5D5XW25UC6A\u0026i=CFGKHUOSIEMJ2QL43W6HGM6BLFENSKQ37\u0026v=2.6\u0026a=2)\n\nEach image is 1164x874.\n\nTo start training, first unzip one of the datasets into the root directory of `traffic-lights` so that the directory tree looks like: `/traffic-lights/data/GREEN/etc.png`.\n\nWhen you run train.py, it will then start a process of cropping and randomly transforming images from the dataset into the `/traffic-lights/data/.processed` directory.\n\nDepending on the amount of data and your CPU, you may want to decrease the amount of data generator threads [as defined here](train.py#L208) as it's pretty heavy on system resources. An ETA will print approximately every 15 seconds to give you feedback on how long it will take.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshane%2Ftraffic-lights","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsshane%2Ftraffic-lights","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsshane%2Ftraffic-lights/lists"}