nengo / nengo-extras

Extra utilities and add-ons for Nengo
https://www.nengo.ai/nengo-extras
Other
5 stars 8 forks source link

loading pickled model #64

Closed assadRasheed closed 6 years ago

assadRasheed commented 6 years ago

how to create the file like cifar10-lif-1628.pkl for your dataset.why this is necessary what this file is holding.

data_mean = X_train.mean(axis=0)
X_train -= data_mean
X_test -= data_mean

# retrieve from https://figshare.com/s/49741f9e2d0d29f68871
cc_model = load_model_pickle('cifar10-lif-1628.pkl')

# --- Run model in Nengo
presentation_time = 0.2
Seanny123 commented 6 years ago

Closing this issue, because you've already posted an identical question on the forum.