I tried object detection with YOLO v3 (TensorFlow 2.0) on a windows CPU!

environment

windows7 64bit Gefore GTX 680MX GPU anaconda

Environmental preparation

Create keras_work with conda

conda create -n keras_work
activate keras_work

Install tensorflow, keras, pillow, matplotlib, opencv-python

conda install tensorflow
conda install keras
pip install pillow
conda install -c anaconda matplotlib
pip install opencv-python

windows git installation

conda install git

windows wget installation

conda install -c menpo wget

Material preparation

Get source from Github

cd c:\temp
git clone https://github.com/zzh8829/yolov3-tf2.git
cd yolov3-tf2

Download yolo3.weight from pjreddie.com

wget https://pjreddie.com/media/files/yolov3.weights --no-check-certificate

Since it is slow to get yolov3.weights from the above pjreddie.com, you can also download the following URL. https://pan.baidu.com/s/1G2Qh-V8kyLOq4oDbTwK6HQ Proposal (password): vogw The file is "yolo_tf2.1 \ data \ yolov3.weights"

Move yolo3.weight file to yolov3-tf2 path Confirm that the file has been moved

(keras_work) C:\temp\yolov3-tf2>dir /B *.weights
yolov3.weights

Convert (convert pre-trained darknet weight)

python convert.py --weights ./yolov3.weights --output ./checkpoints/yolov3.tf

Detection

python detect.py --image ./data/girl.png

output.jpg

Recommended Posts

I tried object detection with YOLO v3 (TensorFlow 2.0) on a windows CPU!
I tried object detection with YOLO v3 (TensorFlow 2.1) on the GPU of windows!
I built a TensorFlow environment on windows10
I tried running YOLO v3 on Google Colab
I tried tensorflow's new Object Detection API on macOS Sierra
I tried replacing the Windows 10 HDD with a smaller SSD
[For beginners] I tried using the Tensorflow Object Detection API
Face detection with YOLO Face (Windows10, Python3.6)
I tried face detection with MTCNN
Use Tensorflow 2.1.0 with Anaconda on Windows 10!
I tried a convolutional neural network (CNN) with a tutorial on TensorFlow on Cloud9-Classification of handwritten images-
[Python] I tried using YOLO v3
I tried to create a server environment that runs on Windows 10
I tried to implement Autoencoder with TensorFlow
I tried to visualize AutoEncoder with TensorFlow
I tried playing a ○ ✕ game using TensorFlow
I tried a functional language with Python
Cooking object detection with yolo + image classification
I tried 3D detection of a car
I tried to draw a system configuration diagram with Diagrams on Docker
Try Tensorflow with a GPU instance on AWS
I tried object detection using Python and OpenCV
I tried non-negative matrix factorization (NMF) with TensorFlow
I tried a TensorFlow tutorial (MNIST for beginners) on Cloud9-Classification of handwritten images-
I tried to detect an object with M2Det!
I tried using a database (sqlite3) with kivy
I tried playing with the calculator on tkinter
I tried to make a simple image recognition API with Fast API and Tensorflow
I tried to make a ○ ✕ game using TensorFlow
I tried to make something like a chatbot with the Seq2Seq model of TensorFlow
I tried to build an environment with WSL + Ubuntu + VS Code in a Windows environment
I tried to create a table only with Django
I tried to implement Minesweeper on terminal with python
I tried to draw a route map with Python
Building a TensorFlow environment that uses GPU on Windows 10
I made a Python3 environment on Ubuntu with direnv.
I tried a visual regression test on GitHub Pages
I tried to automatically generate a password with Python3
[TensorFlow] I want to process windows with Ragged Tensor
I tried collecting data from a website with Scrapy
I tried a simple RPA for login with selenium
I tried to implement Grad-CAM with keras and tensorflow
I tried Kaokore, a Japanese classic dataset, on EfficientNet.
I tried to find an alternating series with tensorflow
Build TensorFlow on Windows
I tried running TensorFlow
[For those who want to use TPU] I tried using the Tensorflow Object Detection API 2
I tried to make a motion detection surveillance camera with OpenCV using a WEB camera with Raspberry Pi
[Shell startup] I tried to display the shell on the TV with a cheap Linux board G-cluster
I tried to implement a volume moving average with Quantx
2020/02 Python 3.7 + TensorFlow 2.1 + Keras 2.3.1 + YOLOv3 Object detection with the latest version
I tried the super-resolution algorithm "PULSE" in a Windows environment
I tried to find the average of the sequence with TensorFlow
I tried to automatically create a report with Markov chain
I tried running PIFuHD on Windows for the time being
I tried hosting a TensorFlow deep learning model using TensorFlow Serving
I tried to solve a combination optimization problem with Qiskit
[TensorFlow] I tried mass-producing "posthumous judgment" style messages with LSTM
I tried to get started with Hy ・ Define a class
I made a VGG16 model using TensorFlow (on the way)
I tried to sort a random FizzBuzz column with bubble sort.