Skip to content
Snippets Groups Projects
Commit 8641db89 authored by Taddeus Kroes's avatar Taddeus Kroes
Browse files

Fixed cache problem im performance script.

parent 00a20f6d
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment