walktree/libtorch-yolov3 has 452 GitHub stars and 129 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-21 00:15 UTC. Last push 2020-10-16.
計測したスター増加
- 24時間
- 0
- 7日間
- 履歴を収集中
- 15日間
- 履歴を収集中
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
概要
A Libtorch implementation of the YOLO v3 object detection algorithm
機械学習README.md
オリジナルlibtorch-yolov3
A Libtorch implementation of the YOLO v3 object detection algorithm, written with pure C++. It's fast, easy to be integrated to your production, and CPU and GPU are both supported. Enjoy ~
This project is inspired by the pytorch version, I rewritten it with C++.
Requirements
- LibTorch v1.0.0
- Cuda
- OpenCV (just used in the example)
To compile
- cmake3
- gcc 5.4 +
mkdir build && cd build
cmake3 -DCMAKE_PREFIX_PATH="your libtorch path" ..
# if there are multi versions of gcc, then tell cmake which one your want to use, e.g.:
cmake3 -DCMAKE_PREFIX_PATH="your libtorch path" -DCMAKE_C_COMPILER=/usr/local/bin/gcc -DCMAKE_CXX_COMPILER=/usr/local/bin/g++ ..
Running the detector
The first thing you need to do is to get the weights file for v3:
cd models
wget https://pjreddie.com/media/files/yolov3.weights
On Single image:
./yolo-app ../imgs/person.jpg
As I tested, it will take 25 ms on GPU ( 1080 ti ). please run inference job more than once, and calculate the average cost.