projects
/
pysvrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f2da660
)
Append to the log instead of overwriting it.
author
Francois Fleuret
<francois@fleuret.org>
Sun, 18 Jun 2017 13:27:39 +0000
(15:27 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Sun, 18 Jun 2017 13:27:39 +0000
(15:27 +0200)
cnn-svrt.py
patch
|
blob
|
history
diff --git
a/cnn-svrt.py
b/cnn-svrt.py
index
63b11ee
..
e5ecf76
100755
(executable)
--- a/
cnn-svrt.py
+++ b/
cnn-svrt.py
@@
-85,7
+85,7
@@
args = parser.parse_args()
######################################################################
######################################################################
-log_file = open(args.log_file, '
w
')
+log_file = open(args.log_file, '
a
')
pred_log_t = None
print(Fore.RED + 'Logging into ' + args.log_file + Style.RESET_ALL)
pred_log_t = None
print(Fore.RED + 'Logging into ' + args.log_file + Style.RESET_ALL)
@@
-273,6
+273,8
@@
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