cd3e85f75755a2d1f02e03b2d76b74179a64c622,snntoolbox/core/pipeline.py,,test_full,#Any#Any#Any#Any#,27
Before Change
// otherwise load it from scratch and perform necessary adaptations (e.g.
// reducing dataset size for reshaping according to network architecture).
// Then save it to disk.
datadir_base = os.path.expanduser(os.path.join("~", ".snntoolbox"))
datadir = os.path.join(datadir_base, "datasets", settings["dataset"],
settings["architecture"])
if not os.path.exists(datadir):
os.makedirs(datadir)
samples = os.path.join(datadir, settings["dataset"] + ".npy")
if os.path.isfile(samples):
(X_train, Y_train, X_test, Y_test) = tuple(np.load(samples))
else:
After Change
// Evaluate ANN before normalization to ensure it doesn"t affect
// accuracy
if settings["evaluateANN"] and not is_stop(queue):
print("Before weight normalization:")
snn.evaluate_ann(X_test, Y_test)
// For memory reasons, reduce number of samples to use during
// normalization.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 9
Instances Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: cd3e85f75755a2d1f02e03b2d76b74179a64c622
Time: 2016-06-06
Author: bodo.rueckauer@gmail.com
File Name: snntoolbox/core/pipeline.py
Class Name:
Method Name: test_full
Project Name: idaholab/raven
Commit Name: f40a8edd60e4d5f3f47e83af4013e0efddf56ebf
Time: 2019-10-18
Author: Jia.Zhou@inl.gov
File Name: framework/CodeInterfaces/RAVEN/RAVENparser.py
Class Name: RAVENparser
Method Name: copySlaveFiles
Project Name: HendrikStrobelt/Seq2Seq-Vis
Commit Name: 378301ea6e3541fdd5ae61a7fb52ccbeeecce405
Time: 2018-04-25
Author: hendrik@strobelt.com
File Name: s2s/project.py
Class Name: S2SProject
Method Name: get_index
Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: cd3e85f75755a2d1f02e03b2d76b74179a64c622
Time: 2016-06-06
Author: bodo.rueckauer@gmail.com
File Name: snntoolbox/core/pipeline.py
Class Name:
Method Name: test_full