Rasa: some times get { "error": "The server can't train more models right now!" } while training new models

Created on 16 Aug 2018  路  6Comments  路  Source: RasaHQ/rasa

Rasa NLU version: 0.13.0-full

**:

Content of model configuration file:

language: "en"

pipeline: 
  - name: "nlp_spacy"  
  - name: "tokenizer_spacy"
  - name: "intent_entity_featurizer_regex"
  - name: "ner_crf"
  - name: "ner_synonyms"  
  - name: "ner_spacy"
  - name: "ner_duckling_http"
    dimensions: ["amount-of-money", "distance", "duration", "email", "number", "ordinal", "phone-number", "quantity", "temperature", "time", "unit", "unit-of-duration", "url", "volume"]
  - name: "intent_featurizer_count_vectors" 
  - name: "intent_classifier_tensorflow_embedding" 
    intent_tokenization_flag: true 
    intent_split_symbol: "+"

Issue:
I do get sometimes

{
  "error": "The server can't train more models right now!"
}

. I am currently using the latest docker version of rasa . I am not sure this is an issue but is there some limit on the number models we can train ,if yes how we can scale to accommodate more models or should the deployment be specific number of models per container ?

type

All 6 comments

see this PR https://github.com/RasaHQ/rasa_nlu/pull/1081 which added functionality for training multiple models in parallel for a single project. when you start the server you can pass this as an argument, e.g. --max_training_processes 3

see this page in the docs http://rasa.com/docs/nlu/config/

@amn41 thanks for this . Ya had guessed so sure will add it to my docker container startup build on rasa base 馃憤

I have this too on latest NLU, I train over HTTP, got a successful response, then retrain, then the error. Server started with default parameters. Status endpoint says project is still training.

Are you using the tensorflow backend? could you please check if this fixes your issue? https://github.com/RasaHQ/rasa_nlu/pull/1343

@amn41 it does!

@amn41 Is 0.13.2 available on docker latest image .. Using 0.13.2-full and latest shows version as 0.13.1 still ?

Was this page helpful?
0 / 5 - 0 ratings