{"id":19243149,"url":"https://github.com/acecoooool/yolo-pytorch","last_synced_at":"2025-04-21T09:32:47.186Z","repository":{"id":201607415,"uuid":"115309068","full_name":"AceCoooool/YOLO-pytorch","owner":"AceCoooool","description":"darknet to pytorch","archived":false,"fork":false,"pushed_at":"2017-12-25T06:26:07.000Z","size":434,"stargazers_count":17,"open_issues_count":4,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-01T12:04:09.245Z","etag":null,"topics":["darknet","python","pytorch","yolov2"],"latest_commit_sha":null,"homepage":null,"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/AceCoooool.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}},"created_at":"2017-12-25T05:32:40.000Z","updated_at":"2023-05-16T15:58:32.000Z","dependencies_parsed_at":"2023-11-10T13:05:48.958Z","dependency_job_id":null,"html_url":"https://github.com/AceCoooool/YOLO-pytorch","commit_stats":null,"previous_names":["acecoooool/yolo-pytorch"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AceCoooool%2FYOLO-pytorch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AceCoooool%2FYOLO-pytorch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AceCoooool%2FYOLO-pytorch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AceCoooool%2FYOLO-pytorch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AceCoooool","download_url":"https://codeload.github.com/AceCoooool/YOLO-pytorch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250032232,"owners_count":21363799,"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":["darknet","python","pytorch","yolov2"],"created_at":"2024-11-09T17:16:51.009Z","updated_at":"2025-04-21T09:32:46.648Z","avatar_url":"https://github.com/AceCoooool.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YOLO-Pytorch\n[中文说明](README.zh.md)\n\n## Description\n\nThis is a pytorch version of [YAD2K](https://github.com/allanzelener/YAD2K)。\n\nOriginal paper: [YOLO9000: Better, Faster, Stronger](https://arxiv.org/abs/1612.08242)by Joseph Redmond and Ali Farhadi.\n\n\u003cp align=\"center\"\u003e\u003cimg width=\"60%\" src=\"png/cat.jpg\" /\u003e\u003c/p\u003e\n\n---\n\n## Requirements\n\n- Pytorch 0.3.0\n- torchvision\n- opencv（Requirement for camera and video）\n- python 3\n\n\n## Usage\n\n1. Download Darknet model cfg and weights from the [official YOLO website](http://pjreddie.com/darknet/yolo/).\n\n   ```bash\n   # for example --- or other version cfg and weights\n   wget http://pjreddie.com/media/files/yolo.weights\n   wget https://raw.githubusercontent.com/pjreddie/darknet/master/cfg/yolo.cfg\n   ```\n   Note: you can download other types: like `yolo-voc.cfg`\n\n2. Convert the weights to `.pth`\n\n   ```bash\n   python tools/yad2t.py path-to-yolo-cfg path-to-yolo-weights path-to-output-folder\n   ```\n\n   Note:  default choose\n\n   - copy your `yolo.cfg` and `yolo.weights` to the directory `config`\n   - the output folder is `model`\n\n3. Three demos (picture, camera, video)\n\n   1. `demo.py`\n\n      ```bash\n      python demo.py pic-path yolo-type --cuda=True\n      ```\n\n      Note: default choose\n\n      - picture in folder `results/demo`\n      - `yolo-type` is `yolo`： three kinds: `[yolo, tiny-yolo-voc, yolo-voc]`\n\n   2. `demo_cam.py`\n\n      ```bash\n      python demo_cam.py --trained_model=pth_model_from_1\n      ```\n\n   3. `demo_video.py`\n\n      ```bash\n      python demo_video.py --demo_path=video_path --trained_model=pth_model_from_1\n      ```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facecoooool%2Fyolo-pytorch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Facecoooool%2Fyolo-pytorch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Facecoooool%2Fyolo-pytorch/lists"}