comment out printing file names while training cnn-rnn ocr model

This commit is contained in:
vahidrezanezhad 2026-03-27 09:36:55 +01:00
parent 8333158ecc
commit 9858221724

View file

@ -1343,7 +1343,7 @@ def data_gen_ocr(
# TODO: Why while True + yield, why not return a list?
while True:
for i in ls_files_images:
print(i, 'i')
#print(i, 'i')
f_name = Path(i).stem#.split('.')[0]
txt_inp = open(os.path.join(dir_train, "labels/"+f_name+'.txt'),'r').read().split('\n')[0]