ec8cd524c54c8bd16b2a5c4e06001b5cba1537a2,snntoolbox/io_utils/datasets/caltech101.py,,get_caltech101,#Any#Any#Any#,21
Before Change
if path is not None:
if filename is None:
filename = "caltech101_flat" if flat else "caltech101"
filepath = os.path.join(path, filename)
np.save(filepath, (X_train, Y_train, X_test, Y_test))
return (X_train, Y_train, X_test, Y_test)
After Change
if path is not None:
if filename is None:
filename = "caltech101_flat" if flat else "caltech101"
filepath = os.path.join(path, filename)
np.savez_compressed(filepath+"_X_train", X_train)
np.savez_compressed(filepath+"_X_test", X_test)
np.savez_compressed(filepath+"_Y_train", Y_train)
np.savez_compressed(filepath+"_Y_test", Y_test)
return (X_train, Y_train, X_test, Y_test)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 10
Instances
Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: ec8cd524c54c8bd16b2a5c4e06001b5cba1537a2
Time: 2016-08-10
Author: bodo.rueckauer@gmail.com
File Name: snntoolbox/io_utils/datasets/caltech101.py
Class Name:
Method Name: get_caltech101
Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 33013f2982401305675dce7dc08503596e1c6f03
Time: 2016-08-11
Author: bodo.rueckauer@gmail.com
File Name: snntoolbox/io_utils/datasets/cifar10.py
Class Name:
Method Name: get_cifar10
Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: ec8cd524c54c8bd16b2a5c4e06001b5cba1537a2
Time: 2016-08-10
Author: bodo.rueckauer@gmail.com
File Name: snntoolbox/io_utils/datasets/caltech101.py
Class Name:
Method Name: get_caltech101
Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 33013f2982401305675dce7dc08503596e1c6f03
Time: 2016-08-11
Author: bodo.rueckauer@gmail.com
File Name: snntoolbox/io_utils/datasets/mnist.py
Class Name:
Method Name: get_mnist