I am encountering the following error when trying to do “rasa train”, it never happened before but it showed up as a surprise when I tried to train my rasa NLU model this morning. Any pointers?
> (daniyar) C:\Users\Baurjan.Jenis\Lisa_dev1\Lisa>rasa train
> 2021-08-04 15:33:29 INFO rasa.model - Data (messages) for NLU model section changed.
> Training NLU model...
> C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\site-packages\tensorflow_addons\utils\ensure_tf_install.py:53: UserWarning: Tensorflow Addons supports using Python ops for all Tensorflow versions above or equal to 2.3.0 and strictly below 2.5.0 (nightly versions are not supported).
> The versions of TensorFlow you are currently using is 2.5.0 and is not supported.
> Some things might work, some things might not.
> If you were to encounter a bug, do not file an issue.
> If you want to make sure you're using a tested and supported configuration, either change the TensorFlow version or the TensorFlow Addons's version.
> You can find the compatibility matrix in TensorFlow Addon's readme:
> https://github.com/tensorflow/addons
> warnings.warn(
> Traceback (most recent call last):
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\runpy.py", line 194, in _run_module_as_main
> return _run_code(code, main_globals, None,
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\runpy.py", line 87, in _run_code
> exec(code, run_globals)
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\Scripts\rasa.exe\__main__.py", line 7, in <module>
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\site-packages\rasa\__main__.py", line 117, in main
> cmdline_arguments.func(cmdline_arguments)
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\site-packages\rasa\cli\train.py", line 59, in <lambda>
> train_parser.set_defaults(func=lambda args: run_training(args, can_exit=True))
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\site-packages\rasa\cli\train.py", line 91, in run_training
> training_result = train_all(
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\site-packages\rasa\api.py", line 109, in train
> return rasa.utils.common.run_in_loop(
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\site-packages\rasa\utils\common.py", line 310, in run_in_loop
> result = loop.run_until_complete(f)
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\asyncio\base_events.py", line 616, in run_until_complete
> return future.result()
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\site-packages\rasa\model_training.py", line 108, in train_async
> return await _train_async_internal(
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\site-packages\rasa\model_training.py", line 289, in _train_async_internal
> await _do_training(
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\site-packages\rasa\model_training.py", line 335, in _do_training
> model_path = await _train_nlu_with_validated_data(
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\site-packages\rasa\model_training.py", line 759, in _train_nlu_with_validated_data
> await rasa.nlu.train.train(
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\site-packages\rasa\nlu\train.py", line 97, in train
> trainer = Trainer(
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\site-packages\rasa\nlu\model.py", line 161, in __init__
> components.validate_requirements(cfg.component_names)
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\site-packages\rasa\nlu\components.py", line 57, in validate_requirements
> from rasa.nlu import registry
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\site-packages\rasa\nlu\registry.py", line 12, in <module>
> from rasa.nlu.classifiers.diet_classifier import DIETClassifier
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\site-packages\rasa\nlu\classifiers\diet_classifier.py", line 24, in <module>
> from rasa.utils.tensorflow.models import RasaModel, TransformerRasaModel
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\site-packages\rasa\utils\tensorflow\models.py", line 51, in <module>
> from rasa.utils.tensorflow.temp_keras_modules import TmpKerasModel
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\site-packages\rasa\utils\tensorflow\temp_keras_modules.py", line 26, in <module>
> class TmpKerasModel(tf.keras.models.Model):
> File "C:\Users\Baurjan.Jenis\Anaconda3\envs\daniyar\lib\site-packages\rasa\utils\tensorflow\temp_keras_modules.py", line 37, in TmpKerasModel
> @training.enable_multi_worker
> AttributeError: module 'tensorflow.python.keras.engine.training' has no attribute 'enable_multi_worker'