rsreeni
(Sreenivasan Rajagopalan)
December 28, 2018, 2:05am
1
Im getting a File not found error trying to run docker train on rasa_core.
I tried running
docker run -v $(pwd):/app/project -v $(pwd)/models/rasa_core:/app/models rasa/rasa_core:latest train --domain project/domain.yml --stories $(pwd)/project/stories.md --out models
and I get
Exception: Failed to load domain specification from ‘/Users/rsreeni/rasa-app-data/project/domain.yml’. File not found!
Ive tried
docker run -v $(pwd):/app/project -v $(pwd)/models/rasa_core:/app/models rasa/rasa_core:latest train --domain $(pwd)/project/domain.yml --stories $(pwd)/project/stories.md --out models
and
docker run -v $(pwd):/app/project -v $(pwd)/models/rasa_core:/app/models rasa/rasa_core:latest train --domain /app/project/domain.yml --stories $(pwd)/project/stories.md --out models
all three result in same error…
The file does exist in the directory.
Can any one help, please?
Thanks,
-Sreeni
Chaitanya
(Chaitanya Tanniru)
January 3, 2019, 8:38am
2
I am also getting same error , Please any one help me.
rsreeni
(Sreenivasan Rajagopalan)
January 3, 2019, 1:56pm
3
Can you post the file locations and the command you run with the error ? some location parameter could be off… that was what was mine. I got it to work… if you can post the locations and screen, I may be able to take a look.
-Sreeni
Chaitanya
(Chaitanya Tanniru)
January 4, 2019, 5:35am
4
Hi,
files location:
C:\Rasa\Docker\domain.yml
C:\Rasa\Docker\data\stories.md
command:
docker run
-v $(pwd):/app/project
-v $(pwd)/models/rasa_core:/app/models
rasa/rasa_core:latest
train
–domain project/domain.yml
–stories project/data/stories.md
–out models
Exception: Failed to load domain specification from ‘/app/project/domain.yml’. File not found!
same issue. this method is copied from the docs, so i wonder why it’s defunct
edit: fixed by following this step first: Step 3: Start Building
then I ran the same block in the starter-pack-rasa-stack dir
Chaitanya
(Chaitanya Tanniru)
February 5, 2019, 7:37am
7
Hi @david-moven thanks for the help. It is working fine. But after docker-compose up , while i am giving the input meaasge
curl --request POST
–url http://localhost:5005/webhooks/rest/webhook
–header ‘content-type: application/json’
–data ‘{
“message”: “hello”
}’
I have get an error curl: (7) Failed to connect to localhost port 5005: Connection refused.
While running docker-compose up , i have got this warning :Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
Hi
I have execuated the command successfully,
docker run -v $(pwd):/app/project -v $(pwd)/models/rasa_core:/app/models -v $(pwd)/config:/app/config -v $(pwd)/data:/app/data rasa/rasa_core:latest train -d config/core_domain_edit2.yml -s data/story_start.md -o models/dialogue2
Hoping it is useful.
My files listed as following:
├── config
│ ├── config_multiintents_0528.yml
│ ├── core_domain_edit2.yml
│ └── policies.yml
├── data
│ ├── data_0516_foruse.json
│ ├── story_start.md
│ └── total_word_feature_extractor_zh.dat
├── docker_start_train_core.sh
├── docker_start_train_nlu.sh
├── entrypoint.sh
├── logs
├── models
│ ├── rasa_core
│ │ ├── dialogue2
│ │ │ ├── domain.json
│ │ │ ├── domain.yml
│ │ │ ├── policy_0_KerasPolicy
│ │ │ │ ├── featurizer.json
│ │ │ │ ├── keras_model.h5
│ │ │ │ ├── keras_policy.json
│ │ │ │ └── keras_policy.tf_config.pkl
│ │ │ ├── policy_1_FallbackPolicy
│ │ │ │ └── fallback_policy.json
│ │ │ ├── policy_2_MemoizationPolicy
│ │ │ │ ├── featurizer.json
│ │ │ │ └── memorized_turns.json
│ │ │ ├── policy_3_FormPolicy
│ │ │ │ ├── featurizer.json
│ │ │ │ └── memorized_turns.json
│ │ │ └── policy_metadata.json
│ │ ├── domain.json
│ │ ├── domain.yml
│ │ ├── policy_0_KerasPolicy
│ │ │ ├── featurizer.json
│ │ │ ├── keras_model.h5
│ │ │ ├── keras_policy.json
│ │ │ └── keras_policy.tf_config.pkl
│ │ ├── policy_1_FallbackPolicy
│ │ │ └── fallback_policy.json
│ │ ├── policy_2_MemoizationPolicy
│ │ │ ├── featurizer.json
│ │ │ └── memorized_turns.json
│ │ ├── policy_3_FormPolicy
│ │ │ ├── featurizer.json
│ │ │ └── memorized_turns.json
│ │ └── policy_metadata.json
│ └── rasa_nlu
│ └── nlu
│ └── default
│ └── model_20190620-033330
│ ├── checkpoint
│ ├── crf_model.pkl
│ ├── entity_extractor.dat
│ ├── entity_synonyms.json
│ ├── intent_classifier_tensorflow_embedding.ckpt.data-00000-of-00001
│ ├── intent_classifier_tensorflow_embedding.ckpt.index
│ ├── intent_classifier_tensorflow_embedding.ckpt.meta
│ ├── intent_classifier_tensorflow_embedding_encoded_all_intents.pkl
│ ├── intent_classifier_tensorflow_embedding_inv_intent_dict.pkl
│ ├── intent_featurizer_count_vectors.pkl
│ ├── metadata.json
│ └── training_data.json
├── train_core.sh
└── train_nlu.sh
Environment:
Ubuntu==18.04
rasa/rasa_core:latest (Created": "2019-03-04T14:44:35.378658156Z)