From f07dc15e422fd58a38c5a2ea3b260cd2b44e21af Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Fri, 4 Jan 2019 15:34:03 +0100 Subject: [PATCH] Update. --- mine_mnist.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mine_mnist.py b/mine_mnist.py index 1d69640..f8b859d 100755 --- a/mine_mnist.py +++ b/mine_mnist.py @@ -86,7 +86,6 @@ parser.add_argument('--learning_rate', parser.add_argument('--independent', action = 'store_true', help = 'Should the pair components be independent') - ###################################################################### args = parser.parse_args() @@ -359,6 +358,7 @@ elif args.data == 'sequence_pair': create_pairs = create_sequences_pairs model = NetForSequencePair() + ###################### ## Save for figures a, b, c = create_pairs() for k in range(10): @@ -366,6 +366,7 @@ elif args.data == 'sequence_pair': for i in range(a.size(1)): file.write(f'{a[k, i]:f} {b[k,i]:f}\n') file.close() + ###################### else: raise Exception('Unknown data ' + args.data) -- 2.39.5