gras64 / wake-word-skill

Just train a new wakeword
Apache License 2.0
9 stars 6 forks source link

create wake word trouble #3

Open el-lolo opened 3 years ago

el-lolo commented 3 years ago

hi I work on rpi 4 4gb with picroft image on it I would like to create my own wake word in french I install your skill but at the moment to convert the error happen

Using TensorFlow backend. Converting /home/pi/.mycroft/skills/WakeWord/aramis.net to /home/pi/.mycroft/skills/WakeWord/aramis.pb ... Traceback (most recent call last): File "/home/pi/.mycroft/skills/WakeWord/precise/precise/scripts/convert.py", line 91, in <module> main() File "/home/pi/.mycroft/skills/WakeWord/precise/precise/scripts/base_script.py", line 49, in run_main script.run() File "/home/pi/.mycroft/skills/WakeWord/precise/precise/scripts/convert.py", line 39, in run self.convert(args.model, args.out.format(model=model_name)) File "/home/pi/.mycroft/skills/WakeWord/precise/precise/scripts/convert.py", line 60, in convert model = load_precise_model(model_path) File "/home/pi/.mycroft/skills/WakeWord/precise/precise/model.py", line 54, in load_precise_model return load_keras().models.load_model(model_name) File "/home/pi/.mycroft/skills/WakeWord/precise/.venv/lib/python3.7/site-packages/keras/models.py", line 242, in load_model model_config = json.loads(model_config.decode('utf-8')) AttributeError: 'str' object has no attribute 'decode'

I already try with raspbian and mycroft linux installation with this skill and directly with mycroft precise but each time there this error I hope my english is not too bad