Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
gauravbrills opened this issue Aug 16, 2018 · 6 comments
Labels
type:question 💬 Question around usage, examples

Comments

@gauravbrills
Copy link

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 ?

@amn41
Copy link
Contributor

amn41 commented Aug 16, 2018

see this PR #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 amn41 closed this as completed Aug 16, 2018
@amn41 amn41 added the type:question 💬 Question around usage, examples label Aug 16, 2018
@gauravbrills
Copy link
Author

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

@znat
Copy link
Contributor

znat commented Aug 24, 2018

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.

@amn41
Copy link
Contributor

amn41 commented Aug 25, 2018

Are you using the tensorflow backend? could you please check if this fixes your issue? #1343

@znat
Copy link
Contributor

znat commented Aug 28, 2018

@amn41 it does!

@gauravbrills
Copy link
Author

gauravbrills commented Aug 30, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:question 💬 Question around usage, examples
Projects
None yet
Development

No branches or pull requests

3 participants