mirror of
https://github.com/qurator-spk/eynollah.git
synced 2026-04-02 05:21:58 +02:00
comment out printing file names while training cnn-rnn ocr model
This commit is contained in:
parent
8333158ecc
commit
9858221724
1 changed files with 1 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue