summaryrefslogtreecommitdiff
path: root/model.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-14 22:51:24 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-14 22:51:24 +0200
commitd3ab3b742e8d1cc67af23a572679395ab35e3760 (patch)
treeafa6ba4d24ff601348d5e2e4a6c0ace499aaac3c /model.py
parenta010889c357243729d477ed44903a4b062e2f405 (diff)
okayyyyyyy
Diffstat (limited to 'model.py')
-rw-r--r--model.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/model.py b/model.py
index 22d31b7..92ad460 100644
--- a/model.py
+++ b/model.py
@@ -357,13 +357,13 @@ class PrimedGenerator(Runner):
'sin': _sin,
}
- print "BUILDING SEQUENCES"
+ print("BUILDING SEQUENCES")
sequences = sequence_lookup.get(primer, 'zero')(sequences)
# out_sequences = sequence_lookup.get(primer, 'zero')(out_sequences)
out_sequences[:, :self.model.lookback] = sequences[:, :self.model.lookback]
- print "BUILT...."
+ print("BUILT....")
# here we are generating the subsequence each time,
# but maybe we want to generate the subsequence bottom_frame_size length
@@ -381,8 +381,8 @@ class PrimedGenerator(Runner):
return tmp_sub_sequence
- print "ENTERING LOOP...."
-
+ print("ENTERING LOOP....")
+
for i in range(self.model.lookback, self.model.lookback + seq_len):
if (i % 1000) == 0:
print("{}...".format(i))