nengo / nengo-dl

Deep learning integration for Nengo
https://www.nengo.ai/nengo-dl
Other
88 stars 22 forks source link

nengo_dl.Simulator Crashes in the Example Code in the repository readme! #135

Closed marina-neseem closed 4 years ago

marina-neseem commented 4 years ago

Hi,

I was getting started with nengo-dl, I started with the Example Code in the repository readme, but the code crashes at nengo_dl.Simulator.

I tried other examples code provided but I get the same error, I also tried to run on google colab and a virtual environment in case there is a conflict with the versions on my machine but I still got the same error.

Is it expecting specific versions of python or tensorflow, I am using python 3.7 and tensorflow 2.1.

This is the error I got!

Traceback (most recent call last): File "nengodl_digit_class.py", line 11, in with nengo_dl.Simulator(net, seed=0,minibatch_size=200, progress_bar=True) as sim: # this is the only line that changes File "/Users/marinaneseem/Documents/Research/SNNs/src/nengo-dl/nengo_dl/simulator.py", line 516, in init seed, File "/usr/local/lib/python3.7/site-packages/tensorflow_core/python/training/tracking/base.py", line 457, in _method_wrapper result = method(self, *args, **kwargs) File "/Users/marinaneseem/Documents/Research/SNNs/src/nengo-dl/nengo_dl/tensor_graph.py", line 124, in init old_operators = operators File "/usr/local/lib/python3.7/site-packages/progressbar/bar.py", line 548, in exit self.finish(dirty=bool(exc_type)) TypeError: finish() got an unexpected keyword argument 'dirty'

Thanks.

tbekolay commented 4 years ago

Hi @MarinaHesham, thanks for the bug report! As it turns out, the progress bar library that we use released a new version two days ago and introduced the bug. I've made a fix for it (#136) which we'll release as soon as possible.

marina-neseem commented 4 years ago

Hi @tbekolay, Thanks for your quick response.