Dataset module¶
This module is used to install and preprocess the data from https://universe.roboflow.com/openglpro/stanford_car/dataset/10 specific for the YOLOv8 version. It is possible to modify the function preprocess to do your own preprocessing. Logs are saved in logs/data.log
- class dataset.Dataset¶
Bases:
object- dowload_dataset()¶
Download and unzip the dataset inside data folder. Use the Roboflow API Key.
Workspace: openglpro
Dataset: stanford_car
Version: 10
Model: YOLOv8
- merge_train_test(remove_test=True)¶
From the downloaded dataset merge the test folder with the train folder.
Parameters:¶
- remove_testbool
Remove the test folder after merge. Default is True.