Skip to content

Commit

Permalink
correcting x -- thanks to huy
Browse files Browse the repository at this point in the history
  • Loading branch information
ganeshjawahar committed Aug 10, 2017
1 parent 584b4ea commit 5b77702
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion model.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def train(self, data):

for b in xrange(self.batch_size):
m = rand_idx[cur]
x[b][0] = target_data[0]
x[b][0] = target_data[m]
target[b][target_label[m]] = 1
time[b,:len(source_loc_data[m])] = source_loc_data[m]
context[b,:len(source_data[m])] = source_data[m]
Expand Down

0 comments on commit 5b77702

Please sign in to comment.