I stuck on this while the voice2json installation:
" * Download a profile and extract it to $HOME/.config/voice2json
- Your profile settings will be in
$HOME/.config/voice2json/profile.yml
"
after I installed the deb package there are none of these directorys existing on my raspi.
cli:voice2json seems to work.... or not ?
pi@raspi4B:/usr/lib/voice2json/voice2json $ voice2json test-examples
WARNING:voice2json:/home/pi/.config/voice2json/profile.yml does not exist. Using default settings.
CRITICAL:voice2json.core:Missing /home/pi/.config/voice2json/intent.pickle.gz. Did you forget to run train-profile?
Traceback (most recent call last):
File "__main__.py", line 6, in <module>
File "asyncio/runners.py", line 43, in run
File "asyncio/base_events.py", line 587, in run_until_complete
File "voice2json/__main__.py", line 73, in main
File "voice2json/test.py", line 27, in test_examples
AssertionError: Not trained
[13649] Failed to execute script __main__
pi@raspi4B:/usr/lib/voice2json/voice2json $