question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Training data generator hangs in Interactive Learning

See original GitHub issue

Rasa version: 1.0.2 Python version: 3.6.6 Operating system (windows, osx, …): MacOS Issue: So the issue I am facing while migrating to Rasa 1.0.x is that during interactive learning training.load_data() runs indefinitely. This was seemingly not an issue in previous rasa version, since I have been using the interactive learning feature a lot (RASA 0.14.x and 0.15.x). My stories are using checkpoints. But the checkpointing isn’t complex. Each story starts with only one common checkpoint. But on the other hand I do have a lot of OR statements in my story. Why is this happening? Also regular story training doesn’t hang. It does complete in a reasonable time.

Content of configuration file (config.yml):

# Configuration for Rasa NLU.
# https://rasa.com/docs/rasa/nlu/components/
language: en_core_web_md
pipeline:
- name: "SpacyNLP"
- name: "SpacyTokenizer"
- name: "SpacyFeaturizer"
- name: "RegexFeaturizer"
- name: "CRFEntityExtractor"
- name: "EntitySynonymMapper"
- name: "SklearnIntentClassifier"
- name: "DucklingHTTPExtractor"
  url: http://0.0.0.0:8000
  
# Configuration for Rasa Core.
# https://rasa.com/docs/rasa/core/policies/
policies:
  - name: FormPolicy
    priority: 7
  - name: FallbackPolicy
    fallback_action_name: 'action_custom_fallback'
    priority: 6
  - name: MappingPolicy
    priority: 3
  - name: MemoizationPolicy
    max_history: 5
    priority: 2
  - name: KerasPolicy
    epochs: 300
    max_history: 3
    priority: 1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
tabergmacommented, Jul 10, 2019

@msamogh I took his stories.

1reaction
wochingecommented, Nov 20, 2019

@tahamr83 Never mind. Found the error and will do a PR later. In the meanwhile you can fix it by using the --skip-visualization flag

Read more comments on GitHub >

github_iconTop Results From Across the Web

Keras seems to hang after call to fit_generator - Stack Overflow
The culprit was train_generator . I have looked into sources of model.fit_generator in Keras some time ago. It just retrieves some data from...
Read more >
model.fit with dataset generator results in deadlock/hang
Model.fit hangs during training. It appears dataset generator seems go into a deadlock while reading tfrecords. A simplified naive model is ...
Read more >
Best practices for creating training data | AutoML Tables
If you are experienced at creating training data for machine learning models, review the list of tasks you do not need to worry...
Read more >
Command-line Tools — fairseq 0.12.2 documentation
fairseq-train: Train a new model on one or multiple GPUs; fairseq-generate: Translate pre-processed data with a trained model; fairseq-interactive: Translate ...
Read more >
3. Generators and Iterators | Advanced - Python Courses eu
Iterators are objects that can be iterated over like we do in a for loop. We can also say that an iterator is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found