Skip to content

Commit 03940e9

Browse files
committed
fixed minor load bug in lif-cell
1 parent 9c932b1 commit 03940e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: ngclearn/components/neurons/spiking/LIFCell.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ def save(self, directory, **kwargs):
307307
def load(self, directory, seeded=False, **kwargs):
308308
file_name = directory + "/" + self.name + ".npz"
309309
data = jnp.load(file_name)
310-
self.thr_theta.set(data['thr_theta'])
310+
self.thr_theta.set(data['threshold_theta'])
311311
## constants loaded in
312312
self.tau_m = data['tau_m']
313313
self.thr = data['thr']

0 commit comments

Comments
 (0)