Error training model


#1

Hello All,

I am brand new to botpress and I’ve encountered an error that I do not how to resolve. I downloaded botpress version 11.2 (I downloaded version 11.3 first but got the same error) and initial installation was successful. I created a welcome bot and have made no code changes yet. I am running on Windows and error message I get is:

15:14:23.171 Mod[nlu] The intents model needs to be updated, training model …
15:14:23.222 Mod[nlu] Error training intents [Error, ENOENT: no such file or diectory, open ‘C:\Users\e710201\AppData\Local\Temp\tmp-134449hN8hLfhzPMv.bin’]
----- STACK -----
Error: ENOENT: no such file or directory, open ‘C:\Users\e710201\AppData\Local\emp\tmp-134449hN8hLfhzPMv.bin’
at Object.fs.openSync (fs.js:579:3)
at Object.fs.openSync (pkg/prelude/bootstrap.js:483:32)
at Object.fs.readFileSync (fs.js:485:33)
at Object.fs.readFileSync (pkg/prelude/bootstrap.js:679:36)
at ScopedEngine._trainModel (C:\Users\e710201\IdeaProjects\chatbot\modules
cache\module__53d26f4d4d8d647998364a9f9f351c030be798cf0aa4bc47f704ed3fb444b180
ist\backend\engine.js:125:45)
at process._tickCallback (internal/process/next_tick.js:68:7)
15:14:23.300 Launcher Unhandled Rejection [Error, Error training the NLU model.
stdout: null
stderr: null
message: Command failed: C:\Users\e710201\IdeaProjects\chatbot\modules.cache\m
dule__53d26f4d4d8d647998364a9f9f351c030be798cf0aa4bc47f704ed3fb444b180\dist\bac
end\tools\bin\ft_win.exe supervised -input C:\Users\e710201\AppData\Local\Temp
mp-13444vKnD6Kwzu2LN -output C:\Users\e710201\AppData\Local\Temp\tmp-134449hN8h
fhzPMv -lr 0.8 -epoch 50 -loss hs -dim 15 -bucket 25000 -wordNgrams 3 -minCount
1 -minn 3 -maxn 6
status: 3221225595
pid: 8512
signal: null
]
----- STACK -----
Error: Error training the NLU model.
stdout: null
stderr: null
message: Command failed: C:\Users\e710201\IdeaProjects\chatbot\modules.cache\m
dule__53d26f4d4d8d647998364a9f9f351c030be798cf0aa4bc47f704ed3fb444b180\dist\bac
end\tools\bin\ft_win.exe supervised -input C:\Users\e710201\AppData\Local\Temp
mp-13444vKnD6Kwzu2LN -output C:\Users\e710201\AppData\Local\Temp\tmp-134449hN8h
fhzPMv -lr 0.8 -epoch 50 -loss hs -dim 15 -bucket 25000 -wordNgrams 3 -minCount
1 -minn 3 -maxn 6
status: 3221225595
pid: 8512
signal: null
at FastTextWrapper.train (C:\Users\e710201\IdeaProjects\chatbot\modules.ca
he\module__53d26f4d4d8d647998364a9f9f351c030be798cf0aa4bc47f704ed3fb444b180\dis
\backend\tools\fastText.js:67:13)
at FastTextClassifier.train (C:\Users\e710201\IdeaProjects\chatbot\modules
cache\module__53d26f4d4d8d647998364a9f9f351c030be798cf0aa4bc47f704ed3fb444b180
ist\backend\pipelines\intents\ft_classifier.js:56:26)
at process._tickCallback (internal/process/next_tick.js:68:7)
15:14:23.311 Launcher Unhandled Rejection [Error, Error training the NLU model.
stdout: null
stderr: null
message: Command failed: C:\Users\e710201\IdeaProjects\chatbot\modules.cache\m
dule__53d26f4d4d8d647998364a9f9f351c030be798cf0aa4bc47f704ed3fb444b180\dist\bac
end\tools\bin\ft_win.exe skipgram -input C:\Users\e710201\AppData\Local\Temp\tm
-134446gQbA2AvDu9A.txt -output C:\Users\e710201\AppData\Local\Temp\tmp-13444bvu
es2HiXcq -lr 0.5 -epoch 50 -loss hs -dim 15 -bucket 25000 -wordNgrams 3 -minCou
t 2 -minn 2 -maxn 6
status: 3221225595
pid: 13912
signal: null
]

Can anyone point me in the right direction on what the problem might be? Thanks.


#2

Are you getting this on 11.5 version?


#3

I tried to do in linux . Even I had same error. Error in training nlu model.