DirectML/Samples/yolov4
Adrian Tsai a83f91572f
Update release notes and samples for DirectML 1.6.0 (#140)
2021-07-08 18:07:25 -07:00
..
Assets Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
Kits Update DirectML samples to 1.5.0 redist (#106) 2021-04-21 10:55:48 -07:00
Media/Fonts Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
.gitignore Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
DeviceResources.cpp Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
DeviceResources.h Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
Main.cpp Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
MediaEnginePlayer.cpp Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
MediaEnginePlayer.h Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
Readme.md Fix a handful of readme links (#96) 2021-04-07 19:04:58 -07:00
StepTimer.h Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
TensorExtents.h Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
TensorUtil.h Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
TensorView.h Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
WeightData.cpp Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
WeightData.h Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
WeightLoader.cpp Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
WeightLoader.h Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
packages.config Update release notes and samples for DirectML 1.6.0 (#140) 2021-07-08 18:07:25 -07:00
pch.cpp Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
pch.h Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
resource.rc Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
settings.manifest Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
yolov4.cpp Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
yolov4.h Update repo with Fe release content (#60) 2020-11-19 17:06:37 -08:00
yolov4.sln Update DirectML samples to 1.5.0 redist (#106) 2021-04-21 10:55:48 -07:00
yolov4.vcxproj Update release notes and samples for DirectML 1.6.0 (#140) 2021-07-08 18:07:25 -07:00
yolov4.vcxproj.filters Update DirectML samples to 1.5.0 redist (#106) 2021-04-21 10:55:48 -07:00
yolov4ResourceBuilder.cpp Fix potential descriptor overwrite in yolov4 sample (#119) 2021-05-19 15:55:56 -07:00

Readme.md

YOLOv4 sample

Implements the YOLOv4 real-time object detection model using DirectML and DirectMLX.

YOLOv4 is an object detection model capable of recognizing up to 80 different classes of objects in an image. This sample contains a complete end-to-end implementation of the model using DirectML, and is able to run in real time on a user-provided video stream.

Screenshot

Downloading model weights

This sample requires an external download of the YOLOv4 model weights, which are roughly 245MB large. The .vcxproj file is configured to download the file automatically, but it can also be downloaded manually here:

The file should be placed in a "Data" subdirectory. e.g.

<repo root>/Samples/yolov4/Data/yolov4.weights