├── .dockerignore ├── .github ├── ISSUE_TEMPLATE │ ├── --bug-report.md │ └── --feature-request.md └── workflows │ ├── greetings.yml │ └── stale.yml ├── .gitignore ├── LICENSE ├── README.md ├── cfg ├── yolov4-hat.cfg ├── yolov4-relu-hat.cfg ├── yolov4-relu.cfg └── yolov4.cfg ├── data ├── 1.split_data.py ├── 2.xml2txt.py ├── 3.creattxt.py ├── hat.data ├── hat.names ├── hattrain.txt ├── hatvalid.txt └── samples │ ├── 1.jpg │ ├── 11.jpg │ ├── 12.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── 5.jpg │ ├── 6.jpg │ ├── 7.jpg │ └── 8.jpg ├── detect.py ├── models.py ├── requirements.txt ├── test.py ├── train.py └── utils ├── __init__.py ├── adabound.py ├── datasets.py ├── evolve.sh ├── gcp.sh ├── google_utils.py ├── layers.py ├── parse_config.py ├── torch_utils.py └── utils.py /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/.dockerignore -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/--bug-report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/.github/ISSUE_TEMPLATE/--bug-report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/--feature-request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/.github/ISSUE_TEMPLATE/--feature-request.md -------------------------------------------------------------------------------- /.github/workflows/greetings.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/.github/workflows/greetings.yml -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/.github/workflows/stale.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/README.md -------------------------------------------------------------------------------- /cfg/yolov4-hat.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/cfg/yolov4-hat.cfg -------------------------------------------------------------------------------- /cfg/yolov4-relu-hat.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/cfg/yolov4-relu-hat.cfg -------------------------------------------------------------------------------- /cfg/yolov4-relu.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/cfg/yolov4-relu.cfg -------------------------------------------------------------------------------- /cfg/yolov4.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/cfg/yolov4.cfg -------------------------------------------------------------------------------- /data/1.split_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/data/1.split_data.py -------------------------------------------------------------------------------- /data/2.xml2txt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/data/2.xml2txt.py -------------------------------------------------------------------------------- /data/3.creattxt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/data/3.creattxt.py -------------------------------------------------------------------------------- /data/hat.data: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/data/hat.data -------------------------------------------------------------------------------- /data/hat.names: -------------------------------------------------------------------------------- 1 | person 2 | hat 3 | -------------------------------------------------------------------------------- /data/hattrain.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/data/hattrain.txt -------------------------------------------------------------------------------- /data/hatvalid.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/data/hatvalid.txt -------------------------------------------------------------------------------- /data/samples/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/data/samples/1.jpg -------------------------------------------------------------------------------- /data/samples/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/data/samples/11.jpg -------------------------------------------------------------------------------- /data/samples/12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/data/samples/12.jpg -------------------------------------------------------------------------------- /data/samples/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/data/samples/2.jpg -------------------------------------------------------------------------------- /data/samples/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/data/samples/3.jpg -------------------------------------------------------------------------------- /data/samples/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/data/samples/4.jpg -------------------------------------------------------------------------------- /data/samples/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/data/samples/5.jpg -------------------------------------------------------------------------------- /data/samples/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/data/samples/6.jpg -------------------------------------------------------------------------------- /data/samples/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/data/samples/7.jpg -------------------------------------------------------------------------------- /data/samples/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/data/samples/8.jpg -------------------------------------------------------------------------------- /detect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/detect.py -------------------------------------------------------------------------------- /models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/models.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/requirements.txt -------------------------------------------------------------------------------- /test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/test.py -------------------------------------------------------------------------------- /train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/train.py -------------------------------------------------------------------------------- /utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /utils/adabound.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/utils/adabound.py -------------------------------------------------------------------------------- /utils/datasets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/utils/datasets.py -------------------------------------------------------------------------------- /utils/evolve.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/utils/evolve.sh -------------------------------------------------------------------------------- /utils/gcp.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/utils/gcp.sh -------------------------------------------------------------------------------- /utils/google_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/utils/google_utils.py -------------------------------------------------------------------------------- /utils/layers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/utils/layers.py -------------------------------------------------------------------------------- /utils/parse_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/utils/parse_config.py -------------------------------------------------------------------------------- /utils/torch_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/utils/torch_utils.py -------------------------------------------------------------------------------- /utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dengfenglai321/YOLOv4-Hat-detection/HEAD/utils/utils.py --------------------------------------------------------------------------------