Create conda
environment depending on whether you have a supported GPU or not:
conda env create -f environment-[c|g]pu.yml
source activate yolov3-[c|g]pu
Install OpenCV 3 with the following instructions.
Then:
pip install tensorflow scikit-learn
Download weights into the cfg
directory:
cd cfg
wget https://pjreddie.com/media/files/yolov3.weights
python single_image.py
The output is stored on out.png
in the root folder.
To see it live on your Web Cam:
python webcam.py
- YOLO configuration parser
- Build YOLO model
- Check architecture against a well-known implementation
- Load YOLO pre-trained weights
- Handle YOLO layer (Detection Layer)
- Non-Maximal Suppression
- Colorful boxes with labels and scores
- Test out on a Web Cam
- Check dependencies
- Dependencies for CPU and GPU
- Instructions for running the project
- Use original scale of input image
- YOLO head in a function
- Figure out Eager Execution + Loading Weights
- Support Tiny YOLOv3
- Allow passing in options to use Tiny YOLOv3
- Investigate Quantization / Smaller Weights
- Try this out on a Raspi3
- Tensorflow.js (¯\(ツ)/¯)