balgot / ib031-cifar10

Classifying CIFAR-10 dataset using simple classifiers
0 stars 0 forks source link

Cache results of get_label in util.py #7

Closed balgot closed 4 years ago

balgot commented 4 years ago

Remove unnecessary opening of file, especially if there results range is small -> in this case 10

vargac commented 4 years ago

How can we do this? In C++, I would just use static variable. You are the python master here :)

balgot commented 4 years ago

should be done, see pull requests