From the course: Hands-On AI: Computer Vision Projects with Ultralytics and OpenCV
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
What Dataset YAML files are—and how to create them - OpenCV Tutorial
From the course: Hands-On AI: Computer Vision Projects with Ultralytics and OpenCV
What Dataset YAML files are—and how to create them
- [Instructor] In the previous video, we exported the annotation file along with the images in a zip file made from Label Studio. In this video, we will use that file to convert it into a structured data set and we will also explore how to create the YML file that we can use for model training. The resources for this video can be found in the course code subdirectory O2_O2. in the subdirectory you will see export.zipfile. This is the same file exported from Label Studio, but I have simply renamed it. In the split data file, we have unzip function defined on line number five. Let's go to line number 11. Here, we are using this function. It requires two argument. One is the part two zip file, and second, where we want to extract that zip file. Since our zip file is in the same directory as our code is, let's just use the zip file name. Second, where we want to extract. Let's extract the zip file inside export directory. Let's command all these line below. First of all, let's just unzip…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.