tcstewar / davis_tracking Goto Github PK
View Code? Open in Web Editor NEWCode for object tracking with DAVIS camera
License: MIT License
Code for object tracking with DAVIS camera
License: MIT License
Hi,
This code looks amazing and right up my research path :)
i am stuck though about 90% of the way through.
Dunno if it is just an issue with what versions of nengo_dl i have or what?
TypeError: make_step() missing 1 required positional argument: 'state'
---------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-7-e7c99e8e711c> in <module>
7 dl_test_data = {inp: np.resize(inputs_test, (minibatch_size, n_steps, dimensions)),
8 p_out: np.resize(targets_test, (minibatch_size, n_steps, 2))}
----> 9 with nengo_dl.Simulator(model, minibatch_size=minibatch_size) as sim:
10 loss_pre = sim.loss(dl_test_data)
11
~/nengo-dl/nengo_dl/simulator.py in __init__(self, network, dt, seed, model, dtype, device, unroll_simulation, minibatch_size, tensorboard, progress_bar)
186 config=session_config)
187
--> 188 self.reset(seed=seed)
189
190 self.closed = False
~/nengo-dl/nengo_dl/simulator.py in reset(self, seed)
221
222 with self.sess.as_default():
--> 223 self.tensor_graph.build_post(self.sess, self.rng)
224
225 def soft_reset(self, include_trainable=False, include_probes=False):
~/.local/lib/python3.6/site-packages/nengo/utils/magic.py in __call__(self, *args, **kwargs)
179 return self.wrapper(wrapped, instance, args, kwargs)
180 else:
--> 181 return self.wrapper(self.__wrapped__, self.instance, args, kwargs)
182 else:
183 instance = getattr(self.__wrapped__, "__self__", None)
~/nengo-dl/nengo_dl/tensor_graph.py in with_self(wrapped, instance, args, kwargs)
37
38 with instance.graph.as_default(), instance.graph.device(instance.device):
---> 39 return wrapped(*args, **kwargs)
40
41
~/nengo-dl/nengo_dl/tensor_graph.py in build_post(self, sess, rng)
729 (n.size_in,), (n.size_out,), self.dt,
730 output.get_rng(rng))
--> 731 for _ in range(self.minibatch_size)]
732 elif n.size_out > 0:
733 self.input_funcs[n] = [
~/nengo-dl/nengo_dl/tensor_graph.py in <listcomp>(.0)
729 (n.size_in,), (n.size_out,), self.dt,
730 output.get_rng(rng))
--> 731 for _ in range(self.minibatch_size)]
732 elif n.size_out > 0:
733 self.input_funcs[n] = [
TypeError: make_step() missing 1 required positional argument: 'state'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.