The layer 0 is empty

2024-09-17 13:02:26 (WARNING) TrainImagesClassifier: The layer 0 of C:/Users/User/AppData/Local/Temp/processing_vcMRGr/ac3c0189c6684da1acff0d3e8df7b069/io_out.file_samplesValid_1.shp is empty, input is skipped.

2024-09-17 13:02:26 (FATAL) TrainImagesClassifier: itk::ERROR: ShiftScaleSampleListFilter(0000029C716DFC90): Input Sample List is empty

Closing this topic duplicated by Hello everyone! Can you help me? I have a raster file and vector file, but when i ran TrainImageClassification i don't answer and i have the next error "The layer 0 is empty", however, my vector file has te input data - #2 by aleguillou