Training data generator hangs in Interactive Learning
See original GitHub issueRasa 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:
- Created 4 years ago
- Comments:12 (11 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@msamogh I took his stories.
@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