projects
/
pysvrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d51ea9a
)
Added a log starting line.
author
Francois Fleuret
<francois@fleuret.org>
Fri, 30 Jun 2017 06:04:29 +0000
(08:04 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Fri, 30 Jun 2017 06:04:29 +0000
(08:04 +0200)
cnn-svrt.py
patch
|
blob
|
history
diff --git
a/cnn-svrt.py
b/cnn-svrt.py
index
966ea4a
..
d0704ff
100755
(executable)
--- 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 = 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()
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
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
if args.compress_vignettes:
log_string('using_compressed_vignettes')
VignetteSet = svrtset.CompressedVignetteSet