Fix handling of InvalidArgumentError in training loop
X-DeepSpeech: NOBUILD
This commit is contained in:
parent
1dfba839ea
commit
f6cd28ba2d
@ -602,8 +602,10 @@ def train():
|
||||
feed_dict=feed_dict)
|
||||
except tf.errors.InvalidArgumentError as err:
|
||||
if FLAGS.augmentation_sparse_warp:
|
||||
log_info("skip sparse warp error: {}".format(err))
|
||||
log_info("Ignoring sparse warp error: {}".format(err))
|
||||
continue
|
||||
else:
|
||||
raise
|
||||
except tf.errors.OutOfRangeError:
|
||||
break
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user