Hello everyone
I used ocropus (in its original version), then ocropy (improved version),
now I would like to use ocropus3 (in its new version). I wanted to start
learning on my database with the following command:
ocroline-train -d myDataBase.gz -t myDataBase.gz -T 100 -o testmodel
--epochs 1
but I got the following error:
/usr/local/lib/python2.7/dist-packages/matplotlib/__init__.py:962:
UserWarning: Duplicate key in file
"/home/ubuntu/.config/matplotlib/matplotlibrc", line # 2
(fname, cnt))
/usr/local/lib/python2.7/dist-packages/matplotlib/__init__.py:962:
UserWarning: Duplicate key in file
"/home/ubuntu/.config/matplotlib/matplotlibrc", line # 3
(fname, cnt))
['CenterNormalizer', 'LineRecognizer', '__builtins__', '__doc__',
'__file__', '__name__', '__package__', '__path__', 'lineest', 'recognizer']
Traceback (most recent call last):
File "/ usr / local / bin / ocroline-train", line 214, in <module>
sample = training_data.next ()
File "/usr/local/lib/python2.7/dist-packages/dlinputs/filters.py", line
266, in map
for sample in data:
File "/usr/local/lib/python2.7/dist-packages/dlinputs/filters.py", line
266, in map
for sample in data:
File "/usr/local/lib/python2.7/dist-packages/dlinputs/filters.py", line
508, in batchedbuckets
for sample in data:
File "/usr/local/lib/python2.7/dist-packages/dlinputs/filters.py", line
235, in ren
raise ValueError ("missing keys, got {}, want {}". format (sample.keys
(), kw)
ValueError: missing keys, got ['__source__', 'txt', '__key__', 'index'],
want {'image': 'png', 'transcript': 'txt'}
knowing that my database respects the file format of the uw3 database used
by the author of ocropus.
can someone help me please?
thank you
--
You received this message because you are subscribed to the Google Groups
"ocropus" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ocropus/2f0ca500-4c1c-433d-a2e3-2b2b3574bc4b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.