From ce3f7df421a314aef4f9b170194ea165e8807f30 Mon Sep 17 00:00:00 2001 From: Albert Aparicio Date: Tue, 7 Mar 2017 18:54:57 +0100 Subject: [PATCH 1/2] Do not flip pretrain slice frames --- tfglib/pretrain_data_params.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tfglib/pretrain_data_params.py b/tfglib/pretrain_data_params.py index 4751550..8a1395e 100644 --- a/tfglib/pretrain_data_params.py +++ b/tfglib/pretrain_data_params.py @@ -363,12 +363,12 @@ def prepare_pretrain_slice( feedback_data = np.roll(trg_res, 1, axis=0) feedback_data[0, :] = 0 - # Flip slice frames and return them + # Return slice frames # print('Sliced ' + basename) yield ( - np.fliplr(src_res[:, 0:44]), - np.fliplr(src_res[:, 44:45]).reshape((-1)), - np.fliplr(src_res[:, 45:46]).reshape((-1)), + src_res[:, 0:44], + src_res[:, 44:45].reshape((-1)), + src_res[:, 45:46].reshape((-1)), feedback_data, trg_res[:, 0:42], trg_res[:, 42:44], From 25eeb4b405def2108e9529b46c179e67f17bba49 Mon Sep 17 00:00:00 2001 From: Albert Aparicio Date: Tue, 7 Mar 2017 18:56:11 +0100 Subject: [PATCH 2/2] Create and ignore 'unused_stuff' directory --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index caa2508..ed58e8b 100644 --- a/.gitignore +++ b/.gitignore @@ -243,3 +243,4 @@ nytprof.out *.o *.bs /_eumm/ +/unused_stuff/