You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building network
Build finished in 0:00:01
|# Optimizing graph | 0:00:00Traceback (most recent call last):
File "MSO_model.py", line 158, in
run_MSO_model()
File "MSO_model.py", line 128, in run_MSO_model
sim = build_model()
File "MSO_model.py", line 119, in build_model
sim = nengo_dl.Simulator(model, dt=dt, unroll_simulation=1)
File "/home/cnrg-ntu/nengo-dl/nengo_dl/simulator.py", line 138, in init
max_value=None) as progress:
File "/home/cnrg-ntu/nengo-dl/nengo_dl/utils.py", line 353, in enter
return self.start()
File "/home/cnrg-ntu/nengo-dl/nengo_dl/utils.py", line 294, in start
self.thread.start()
File "/usr/lib/python2.7/threading.py", line 730, in start
raise RuntimeError("threads can only be started once")
RuntimeError: threads can only be started once
| # Optimizing graph | 0:00:00
just change to:
return self
seems to fix it.
The text was updated successfully, but these errors were encountered:
The latest release updates the minimum progressbar version to 3.37.1, which should resolve this. Let me know if that isn't the case, and I'll reopen the issue!
nengo-dl/nengo_dl/utils.py
Line 353 in b9e7ae5
Building network
Build finished in 0:00:01
|# Optimizing graph | 0:00:00Traceback (most recent call last):
File "MSO_model.py", line 158, in
run_MSO_model()
File "MSO_model.py", line 128, in run_MSO_model
sim = build_model()
File "MSO_model.py", line 119, in build_model
sim = nengo_dl.Simulator(model, dt=dt, unroll_simulation=1)
File "/home/cnrg-ntu/nengo-dl/nengo_dl/simulator.py", line 138, in init
max_value=None) as progress:
File "/home/cnrg-ntu/nengo-dl/nengo_dl/utils.py", line 353, in enter
return self.start()
File "/home/cnrg-ntu/nengo-dl/nengo_dl/utils.py", line 294, in start
self.thread.start()
File "/usr/lib/python2.7/threading.py", line 730, in start
raise RuntimeError("threads can only be started once")
RuntimeError: threads can only be started once
| # Optimizing graph | 0:00:00
just change to:
seems to fix it.
The text was updated successfully, but these errors were encountered: