File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 19
19
from rasa .nlu .tokenizers .tokenizer import Token
20
20
from rasa .nlu .classifiers import LABEL_RANKING_LENGTH
21
21
from rasa .utils import train_utils
22
+ from rasa .utils .common import raise_warning
22
23
from rasa .utils .tensorflow import layers
23
24
from rasa .utils .tensorflow .transformer import TransformerEncoder
24
25
from rasa .utils .tensorflow .models import RasaModel
@@ -277,7 +278,7 @@ def __init__(
277
278
"""Declare instance variables with default values."""
278
279
279
280
if component_config is not None and EPOCHS not in component_config :
280
- logger . warning (
281
+ raise_warning (
281
282
f"Please configure the number of '{ EPOCHS } ' in your configuration file."
282
283
f" We will change the default value of '{ EPOCHS } ' in the future to 1. "
283
284
)
You can’t perform that action at this time.
0 commit comments