Shortening some print statements
This commit is contained in:
parent
6da7b5fc26
commit
90ce16fa15
@ -43,9 +43,11 @@ class _SttConfig(Coqpit):
|
|||||||
print(f"Parsed augmentations: {self.augmentations}")
|
print(f"Parsed augmentations: {self.augmentations}")
|
||||||
if self.augmentations and self.feature_cache and self.cache_for_epochs == 0:
|
if self.augmentations and self.feature_cache and self.cache_for_epochs == 0:
|
||||||
print(
|
print(
|
||||||
"Due to current feature-cache settings the exact same sample augmentations of the first "
|
"Due to your feature-cache settings, augmentations of "
|
||||||
"epoch will be repeated on all following epochs. This could lead to unintended over-fitting. "
|
"the first epoch will be repeated on all following epochs. "
|
||||||
"You could use --cache_for_epochs <n_epochs> to invalidate the cache after a given number of epochs."
|
"This may lead to unintended over-fitting. "
|
||||||
|
"You can use --cache_for_epochs <n_epochs> to invalidate "
|
||||||
|
"the cache after a given number of epochs."
|
||||||
)
|
)
|
||||||
|
|
||||||
if self.normalize_sample_rate:
|
if self.normalize_sample_rate:
|
||||||
@ -56,8 +58,9 @@ class _SttConfig(Coqpit):
|
|||||||
# Caching
|
# Caching
|
||||||
if self.cache_for_epochs == 1:
|
if self.cache_for_epochs == 1:
|
||||||
print(
|
print(
|
||||||
"--cache_for_epochs == 1 is (re-)creating the feature cache on every epoch but will never use it."
|
"--cache_for_epochs == 1 is (re-)creating the feature cache "
|
||||||
"You can either set --cache_for_epochs > 1, or not use feature caching at all."
|
"on every epoch but will never use it. You can either set "
|
||||||
|
"--cache_for_epochs > 1, or not use feature caching at all."
|
||||||
)
|
)
|
||||||
|
|
||||||
# Read-buffer
|
# Read-buffer
|
||||||
@ -200,7 +203,7 @@ class _SttConfig(Coqpit):
|
|||||||
train_files: List[str] = field(
|
train_files: List[str] = field(
|
||||||
default_factory=list,
|
default_factory=list,
|
||||||
metadata=dict(
|
metadata=dict(
|
||||||
help="space-separated list of files specifying the dataset used for training. Multiple files will get merged. If empty, training will not be run."
|
help="space-separated list of files specifying the datasets used for training. Multiple files will get merged. If empty, training will not be run."
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
dev_files: List[str] = field(
|
dev_files: List[str] = field(
|
||||||
|
Loading…
Reference in New Issue
Block a user