From: Francois Fleuret Date: Fri, 30 Jun 2017 06:04:29 +0000 (+0200) Subject: Added a log starting line. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=4c77eebce3c3914a58c548c606d045efdae2284a;p=pysvrt.git Added a log starting line. --- diff --git a/cnn-svrt.py b/cnn-svrt.py index 966ea4a..d0704ff 100755 --- a/cnn-svrt.py +++ b/cnn-svrt.py @@ -105,6 +105,10 @@ args = parser.parse_args() ###################################################################### log_file = open(args.log_file, 'a') +log_file.write('\n') +log_file.write('@@@@@@@@@@@@@@@@@@@ ' + time.ctime() + ' @@@@@@@@@@@@@@@@@@@\n') +log_file.write('\n') + pred_log_t = None last_tag_t = time.time() @@ -458,8 +462,6 @@ if args.nb_train_samples%args.batch_size > 0 or args.nb_test_samples%args.batch_ print('The number of samples must be a multiple of the batch size.') raise -log_string('############### start ###############') - if args.compress_vignettes: log_string('using_compressed_vignettes') VignetteSet = svrtset.CompressedVignetteSet