Added condition for loading the testset if needed for threshold normalization on Loihi. Removed redundant loading of dataset to fit ImageDataGenerator.
Added condition for loading the testset if needed for threshold normalization on Loihi. Removed redundant loading of dataset to fit ImageDataGenerator.

NeuromorphicProcessorProject/snn_toolbox