d1e6f8655410239f50cdda35f31377839cf630fb,kraken/ketos.py,,train,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,80

Before Change


    
    st_time = time.time()
    if load is None:
        click.echo("Training from scratch not yet supported.")
        ctx.exit(1)
    if ctx.meta["verbose"] > 0:
        click.echo(u"[{:2.4f}] Building ground truth set from {} line images".format(time.time() - st_time, len(ground_truth)))
    else:

After Change



        newcodec = Codec()
        code2char, char2code = {}, {}
        for code, char in enumerate([126] + [ord(c) for c in sorted(list(gt_set.training_alphabet.keys()))]):
            code2char[code] = chr(char)
            char2code[chr(char)] = code
        newcodec.code2char = code2char
        newcodec.char2code = char2code
        rnn = tlstm.TlstmSeqRecognizer.init_model(lineheight, hiddensize, len(newcodec.code2char), newcodec)
        if not ctx.meta["verbose"]:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: mittagessen/kraken
Commit Name: d1e6f8655410239f50cdda35f31377839cf630fb
Time: 2017-07-11
Author: andreas.buettner@uni-wuerzburg.de
File Name: kraken/ketos.py
Class Name:
Method Name: train


Project Name: tryolabs/luminoth
Commit Name: 5d9571462965fc0ed3fd9e88ce395de5a68e3527
Time: 2017-11-08
Author: javirey@gmail.com
File Name: luminoth/tools/cloud/gcloud.py
Class Name:
Method Name: train


Project Name: etal/cnvkit
Commit Name: e06b04eacb0eefdd392e54a0ec2a4f24c22ef50c
Time: 2014-09-08
Author: eric.talevich@gmail.com
File Name: cnvlib/target.py
Class Name:
Method Name: assign_names


Project Name: streamlit/streamlit
Commit Name: afbd6c759cf36b8db59f9aa258903bce8d00d30f
Time: 2020-05-17
Author: thiago@streamlit.io
File Name: lib/tests/streamlit/echo_test.py
Class Name: EchoTest
Method Name: test_echo