zxzhijia / Brian2STDPMNIST

Brian 2 version of Paper "Unsupervised Learning of digit recognition using STDP"
128 stars 71 forks source link

Unsupported pickle protocol: 3 #5

Closed henokhope1 closed 6 years ago

henokhope1 commented 6 years ago

When I try to run Diehl&Cook_spiking_MNIST_Brian2.py, I am getting the below error. Have you encountered the same issue?

data = pickle.load(open('%s.pickle' % picklename))
  File "/usr/lib/python2.7/pickle.py", line 1384, in load
    return Unpickler(file).load()
  File "/usr/lib/python2.7/pickle.py", line 864, in load
    dispatch[key](self)
  File "/usr/lib/python2.7/pickle.py", line 892, in load_proto
    raise ValueError, "unsupported pickle protocol: %d" % proto
ValueError: unsupported pickle protocol: 3

Process finished with exit code 1