Skip to content

Commit

Permalink
Debugging ActionSelection.
Browse files Browse the repository at this point in the history
  • Loading branch information
erik-grabljevec committed May 18, 2015
1 parent 8d795c5 commit 810bf04
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/training/training/training.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,13 @@ def run(self):
sim.run()

# Adding ActionSelection

pattern_input = []
for neuron in sim.neurons:
pattern_input.append(neuron.spike_times)

a_s = ActionSelection(pattern_input=input, pattern_duration=len(input),
a_s = ActionSelection(pattern_input=input,
pattern_duration=self.ani.total_frames,
animation=self.ani)
a_s.run(show_plots=False)

Expand Down

0 comments on commit 810bf04

Please sign in to comment.