How To Train an Object Detection Neural Network Using TensorFlow (GPU) on Windows 10
Edje Electronics
@edjeelectronicsAbout
Looking for fun projects to do with your Raspberry Pi? You've come to the right place! I post videos about software and hardware related projects that involve the Pi. Currently, I'm working on creating a blackjack-playing robot that uses deep learning neural networks to identify playing cards, so most of my videos are on the topic of computer vision. You can view code for the projects I've worked on at https://github.com/EdjeElectronics. Want help developing vision-capable products for your business? My company, EJ Technology Consultants, can help! Learn more here: https://ejtech.io As an Amazon Associate, I earn from qualifying purchases through links that are posted on my video descriptions.
Video Description
This tutorial shows you how to train your own object detector for multiple objects using Google's TensorFlow Object Detection API on Windows. An updated written version of the tutorial is available at https://github.com/EdjeElectronics/TensorFlow-Object-Detection-API-Tutorial-Train-Multiple-Objects-Windows-10 . If you have questions, I usually respond more quickly on Twitter, so send me a tweet @EdjeElectronics ! https://twitter.com/EdjeElectronics Here's the relevant specs of the PC I used for training. GPU: GeForce GTX 1060 6Gb CPU: Intel i5-7600 RAM: 16GB DDR4-2133 -----Other links referenced in the video------ How to Install TensorFlow on Windows: https://youtu.be/RplXYjxgZbw TensorFlow Object Detection API repository: https://github.com/tensorflow/models TensorFlow Model Zoo page: https://github.com/tensorflow/models/blob/master/research/object_detection/g3doc/tf1_detection_zoo.md LabelImg utility: https://github.com/tzutalin/labelImg#installation -----Time links to each step in the video----- 1:54 Step 1. Install TensorFlow-GPU 3:14 Step 2. Set up Object Detection directory and Anaconda virtual environment 15:21 Step 3. Gather and label pictures 18:35 Step 4. Generate training data 20:16 Step 5. Create label map and configure training 23:46 Step 6. Train object detector 26:54 Step 7. Export inference graph 27:45 Step 8. Try out your object detector!! Credit goes to Dat Tran for writing the xml_to_csv.py and generate_tfrecord.py scripts, which I took from his Raccoon Detector tutorial (https://towardsdatascience.com/how-to-train-your-own-object-detector-with-tensorflows-object-detector-api-bec72ecfe1d9). Thanks also goes out to Sentdex (www.pythonprogramming.net) for writing a tutorial on how to use the Object Detection API on Linux. Music: Mason Donovan - Coffee House https://soundcloud.com/user-94567791/coffee-house
Power Up Your Object Detection Projects
AI-recommended products based on this video

AocBook 15.6'' FHD Laptop, Intel N95, Nvidia GTX 1060 4GB, 32GB DDR4 RAM, M.2 SSD, Sleek Notebook with Type-C, HDMI, RJ45 Ethernet, Backlit Keyboard, Fingerprint (32GB DDR4 | 1TB SSD)

acer Nitro 50 N50-620-UA91 Gaming Desktop | 11th Gen Intel Core i5-11400F 6-Core Processor | NVIDIA GeForce GTX 1650 | 8GB DDR4 | 512GB NVMe M.2 SSD | Intel Wi-Fi 6 AX201 | Keyboard and Mouse

Lenovo ThinkPad T14 Laptop 2024 14” WUXGA 1920 x 1200 Touchscreen, Intel Core Ultra 7 155U, 12-core, Intel Graphics, 32GB DDR5, 512GB SSD, Backlit KB, FP, Wi-Fi 6E, 5.0MP + IR Camera, Windows 10 Pro

Lenovo 2024 ThinkPad Laptop 14" WUXGA 1920 x 1200 Intel Core Ultra 7 155U 12-Core Intel Graphics 32GB DDR5 512GB SSD Wi-Fi 6E Windows 10 Pro Backlit KB 5.0MP + IR Camera Touchscreen FP Thunderbolt 4

Industrial Mini PC, KINUPUTE Fanless Desktop Computer Core i7-5500U 2.4-3.0GHz, Windows 10 Pro, 16GB RAM, 256GB SSD, 2xNICs, 6xCOM RS232, 4xUSB 3.0, HDMI/VGA Ports, Full Metal Case

Lenovo Thinkpad E16 Gen 1 16" WUXGA (1920 x 1200) Touchscreen Laptop - Intel Core i7-1355U (10 Core) Processor, 16GB RAM, 512GB SSD, Windows 11 Pro - Black (21JN003XUS)

【DDR3 RAM Laptop Only】 GIGASTONE 16GB Kit (2x8GB) DDR3/DDR3L 1600MHz (1333MHz) PC3-12800 (PC3-10600) CL11 1.35V/1.5V 2Rx8 SODIMM 204 Pin Unbuffered Non ECC High Performance Notebook Memory Upgrade

TEAMGROUP Elite DDR4 16GB Kit (2 x 8GB) 3200MHz PC4-25600 CL22 Unbuffered Non-ECC 1.2V SODIMM 260-Pin Laptop Notebook PC Computer Memory Module Ram Upgrade - TED416G3200C22DC-S01

Logitech M185 Wireless Mouse, 2.4GHz with USB Mini Receiver, 12-Month Battery Life, 1000 DPI Optical Tracking, Ambidextrous, Compatible with PC, Mac, Laptop - Black

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

Logitech G305 Lightspeed Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

Logitech G502 Hero High Performance Wired Gaming Mouse, Hero 25K Sensor, 25,600 DPI, RGB, Adjustable Weights, 11 Programmable Buttons, On-Board Memory, PC/Mac, Black

Dell 24 Monitor - SE2425HM - 23.8-inch Full HD (1920x1080) 16:9 100Hz Display, IPS Panel, 16.70 Million Colors, Anti-Glare, 1 HDMI / 1 VGA Port, TÜV Rheinland 3-Star*, Comfortview Plus - Black

Dell S2425HS Monitor - 23.8 Inch, FHD (1920x1080) Display, 100Hz Refresh Rate 1500:1 Contrast Ratio, TÜV Rheinland Eye Comfort 4 Star, Integrated 2x5W Speaker, Height/Tilt/Swivel/Pivot - Ash White

USB C Docking Station Dual Monitor for Dell Hp,15-in-1 Laptop Docking Station 3 Monitors USB C Hub with Dual 4K HDMI,8K DP,Button,PD Charging,Ethernet,6 USB A&C,SD/TF, Audio USB-C Multiport Adapter

Dell 24 Monitor - P2425H EPEAT

MSI MPG A1000GS PCIE5, Fully Modular Gaming 1000W Power Supply, 80+ Gold, Dual 12V-2x6 Cables, Server-Grade, ATX 3.1 & PCIe 5.1, Low-Noise, Semi Digital, Embossed Jacket Cables, 10 Year Warranty

Gamdias PCIe 5.1 & ATX3.1 Gold 1000W Power Supply for GeForce RTX 5000 Series, 1000W Fully Modular ATX 80 Plus Gold Computer PSU for Gaming PC Desktops, Low-Noise Fan, Helios P2-1000G

Asus ROG Strix 1000W Gold Aura Edition (Fully Modular Power Supply, 80+ Gold Certified, ATX 3.0, Cybenetics Lambda A+ Certification, PCIe Gen 5.0 Ready, Axial-tech Fan, Aura Sync, 10-Year Warranty)

Asus TUF Gaming 1000W Gold (1000 Watt, ATX 3.0 Compatible Fully Modular Power Supply, 80+ Gold Certified, Military-Grade Components, Dual Ball Bearing, Axial-tech Fan, PCB Coating, 10 Year Warranty)

Western Digital 2TB WD Blue SA510 SATA Internal Solid State Drive SSD - SATA III 6 Gb/s, 2.5"/7mm, Up to 560 MB/s - WDS200T3B0A

Samsung 990 EVO Plus - 4TB PCIe Gen4. X4, Gen5. X2 NVMe 2.0 - M.2 Internal SSD, Speed Up to 7,250 MBs, Upgrade Storage for PC-Laptops, HMB Technology and Intelligent Turbowrite (MZ-V9S4T0B/AM)
![SAMSUNG 990 PRO SSD 4TB PCIe Gen4 NVMe M.2 Internal Solid State Hard Drive, Up to 7,450MB/s, Heat Control, Direct Storage and Memory Expansion, MZ-V9P4T0B/AM [Canada Version]](https://m.media-amazon.com/images/I/81WuG6lQuDL._AC_UL960_FMwebp_QL65_.jpg)
SAMSUNG 990 PRO SSD 4TB PCIe Gen4 NVMe M.2 Internal Solid State Hard Drive, Up to 7,450MB/s, Heat Control, Direct Storage and Memory Expansion, MZ-V9P4T0B/AM [Canada Version]
![Samsung 9100 PRO Series - 4TB PCIe 5.0 x4, NVMe 2.0, M.2 Internal SSD, Up to 14,800MB/s, Fast Speed, Thermal Contorl, MZ-VAP4T0B/AM [Canada Version]](https://m.media-amazon.com/images/I/71qygJIcKnL._AC_UL960_FMwebp_QL65_.jpg)
Samsung 9100 PRO Series - 4TB PCIe 5.0 x4, NVMe 2.0, M.2 Internal SSD, Up to 14,800MB/s, Fast Speed, Thermal Contorl, MZ-VAP4T0B/AM [Canada Version]
![SAMSUNG EVO Select Micro SD-Memory-Card + Adapter, 128GB microSDXC 160MB/s Full HD & 4K UHD, UHS-I, U3, A2, V30, for Android Smartphones, Tablets, Nintendo-Switch (MB-ME128SA/AM) [Canada Version]](https://m.media-amazon.com/images/I/71lzXt4djxL._AC_UY654_FMwebp_QL65_.jpg)














