首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何修复错误UserWarning:'evaluate_every_number_of_epochs‘的值大于'epochs’的值。不会进行任何评估。

如何修复错误UserWarning:'evaluate_every_number_of_epochs‘的值大于'epochs’的值。不会进行任何评估。
EN

Stack Overflow用户
提问于 2021-07-03 14:33:25
回答 1查看 430关注 0票数 2

如何修复错误UserWarning:'evaluate_every_number_of_epochs‘的值大于'epochs’的值。不会进行评估。

当我运行‘rasa shell’时,我会收到这个警告。

UserWarning:‘evaluate_every_number_of_epochs’的值大于‘epochs’的值。不会进行评估。

有人能帮我解决这个问题吗?

版本rasa 2.7.1

config.yml

代码语言:javascript
复制
# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: ru

pipeline:
 # No configuration for the NLU pipeline was provided. The following default pipeline was used to train your model.
 # If you'd like to customize it, uncomment and adjust the pipeline.
 # See https://rasa.com/docs/rasa/tuning-your-model for more information.
   - name: WhitespaceTokenizer
   - name: RegexFeaturizer
   - name: LexicalSyntacticFeaturizer
   - name: CountVectorsFeaturizer
   - name: CountVectorsFeaturizer
     analyzer: char_wb
     min_ngram: 1
     max_ngram: 4
   - name: DIETClassifier
     epochs: 100
     constrain_similarities: true
     evaluate_on_number_of_examples: 0
     evaluate_every_number_of_epochs: 5
     model_confidence: linear_norm
   - name: EntitySynonymMapper
   - name: ResponseSelector
     epochs: 100
     constrain_similarities: true
     model_confidence: linear_norm
     evaluate_on_number_of_examples: 0
     evaluate_every_number_of_epochs: 5
   - name: FallbackClassifier
     threshold: 0.3
     ambiguity_threshold: 0.1

# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
# # No configuration for policies was provided. The following default policies were used to train your model.
# # If you'd like to customize them, uncomment and adjust the policies.
# # See https://rasa.com/docs/rasa/policies for more information.
   - name: MemoizationPolicy
   - name: RulePolicy
   - name: TEDPolicy
     max_history: 5
     evaluate_on_number_of_examples: 0
     evaluate_every_number_of_epochs: 5
     epochs: 100
     constrain_similarities: true
     model_confidence: linear_norm
EN

回答 1

Stack Overflow用户

发布于 2021-07-05 12:50:36

我们知道这个问题,我们很快就会修复它。同时,我建议忽略这个警告。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/68237176

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档