githubharald / SimpleHTR

Handwritten Text Recognition (HTR) system implemented with TensorFlow.
https://towardsdatascience.com/2326a3487cd5
MIT License
1.99k stars 894 forks source link

How to Choose Training and Validation Sets from Folders not by spliting into (95% and 5%) #103

Closed Sofiane23i closed 3 years ago

Sofiane23i commented 3 years ago

Hello,

In dataloader file, we can found how the script split the data into training and validation sets

        # split into training and validation set: 95% - 5%
        splitIdx = int(0.95 * len(self.samples))
        self.trainSamples = self.samples[:splitIdx]
        self.validationSamples = self.samples[splitIdx:]

how can i choose them from specific folders ?

githubharald commented 3 years ago

not supported. you have to implement it.

Sofiane23i commented 3 years ago

not supported. you have to implement it.

done.