See in the image below how the folders of each class are organized.

Each folder is a class. In the folder (class) the images are annotated with bounding boxes around the component parts of each of the insects. Each image is associated with an XML file.
The dataset is structured as follows:

The Pests4C2P dataset can be accessed at: [https://doi.org/10.6084/m9.figshare.20055602.v1](https://doi.org/10.6084/m9.figshare.20055602.v1)
## Step 2: Create the samples for training/validation/testing using cross-validation.