Commit 8641db89 authored by Taddeus Kroes's avatar Taddeus Kroes

Fixed cache problem im performance script.

parent 00a20f6d
......@@ -20,10 +20,15 @@ classifier_file = 'classifier%s.dat' % suffix
print 'Loading characters...'
chars = load(open(chars_file, 'r'))[:count]
count = len(chars)
for char in chars:
del char.feature
print 'Read %d characters' % count
print 'Loading classifier...'
classifier = Classifier(filename=classifier_file)
classifier.neighbours = neighbours
start = time()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment