Hi bro, can you explain me the procedure to do this ctrain for cursive handwriting on windows 7
On Tuesday, 9 August 2011 21:35:38 UTC+5:30, Raj Julha wrote: > > Well > > I'm replying to myself. I retried the command after editing the > chars.db file with ocropus-cedit and it worked. I suppose there were > some classes that hadn't been classified? > Is this a requirement before running ocropus-ctrain? > > Cheers > > Raj > > > > On Aug 7, 12:00 am, Raj Julha <[email protected]> wrote: > > Hi > > > > Correction, I'm using Ubuntu 11.04. > > > > Raj > > > > On Aug 6, 10:50 pm, Raj Julha <[email protected]> wrote: > > > > > > > > > > > > > > > > > Hi > > > > > I successfully installed ocropus ver 0.4.4 on Ubuntu 10.10 by > > > following instructions athttp:// > code.google.com/p/ocropus/wiki/InstallTranscript > > > > > When running ocropus-ctrain I encountered an error > > > optparse.OptionConflictError: option -R/--rejectfactor: conflicting > > > option string(s): -R > > > There were two instances of -R so I replaced the second -R with -f. > > > > > I created a chars.db database after following the necessary > > > preliminary training steps. However when I run the command > > > > > ocropus-ctrain -K 10 chars.db -o chars.cmodel > > > > > I get the error > > > # determining per-class cutoff > > > Traceback (most recent call last): > > > File "/usr/local/bin/ocropus-ctrain", line 189, in <module> > > > ntrain = int(stats.scoreatpercentile(counts,threshold)) > > > File "/usr/lib/python2.7/dist-packages/scipy/stats/stats.py", line > > > 1287, in scoreatpercentile > > > return _interpolate(values[int(idx)], values[int(idx) + 1], idx % > > > 1) > > > IndexError: index out of bounds > > > > > Can someone send a fixed recent version working version of ocropus- > > > ctrain to the group? > > > > > Thanks > > > > > Raj -- 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/84778090-e27c-4c6d-886b-e764c81ff1c2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
