You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After training the model I want to test it. But precise-train doesn't work as expected:
(.venv) aleksei@aleksei-VirtualBox:~/Projects$ precise-test ai-vitau.net ai-vitau/
Loading wake-word...
Loading not-wake-word...
2024-03-10 20:09:34.518885: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2024-03-10 20:09:34.523107: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2994370000 Hz
2024-03-10 20:09:34.523295: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x292b970 executing computations on platform Host. Devices:
2024-03-10 20:09:34.523318: I tensorflow/compiler/xla/service/service.cc:158] StreamExecutor device (0): ,
Using TensorFlow backend.
Traceback (most recent call last):
File "/home/aleksei/Projects/mycroft-precise/.venv/bin/precise-test", line 33, in
sys.exit(load_entry_point('mycroft-precise', 'console_scripts', 'precise-test')())
File "/home/aleksei/Projects/mycroft-precise/precise/scripts/base_script.py", line 49, in run_main
script.run()
File "/home/aleksei/Projects/mycroft-precise/precise/scripts/test.py", line 52, in run
predictions = Listener.find_runner(args.model)(args.model).predict(inputs)
File "/home/aleksei/Projects/mycroft-precise/precise/network_runner.py", line 85, in init
self.model = load_precise_model(model_name)
File "/home/aleksei/Projects/mycroft-precise/precise/model.py", line 54, in load_precise_model
return load_keras().models.load_model(model_name)
File "/home/aleksei/Projects/mycroft-precise/.venv/lib/python3.6/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'
Any help is really appreciated
The text was updated successfully, but these errors were encountered:
After training the model I want to test it. But precise-train doesn't work as expected:
(.venv) aleksei@aleksei-VirtualBox:~/Projects$ precise-test ai-vitau.net ai-vitau/
Loading wake-word...
Loading not-wake-word...
2024-03-10 20:09:34.518885: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2
2024-03-10 20:09:34.523107: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency: 2994370000 Hz
2024-03-10 20:09:34.523295: I tensorflow/compiler/xla/service/service.cc:150] XLA service 0x292b970 executing computations on platform Host. Devices:
2024-03-10 20:09:34.523318: I tensorflow/compiler/xla/service/service.cc:158] StreamExecutor device (0): ,
Using TensorFlow backend.
Traceback (most recent call last):
File "/home/aleksei/Projects/mycroft-precise/.venv/bin/precise-test", line 33, in
sys.exit(load_entry_point('mycroft-precise', 'console_scripts', 'precise-test')())
File "/home/aleksei/Projects/mycroft-precise/precise/scripts/base_script.py", line 49, in run_main
script.run()
File "/home/aleksei/Projects/mycroft-precise/precise/scripts/test.py", line 52, in run
predictions = Listener.find_runner(args.model)(args.model).predict(inputs)
File "/home/aleksei/Projects/mycroft-precise/precise/network_runner.py", line 85, in init
self.model = load_precise_model(model_name)
File "/home/aleksei/Projects/mycroft-precise/precise/model.py", line 54, in load_precise_model
return load_keras().models.load_model(model_name)
File "/home/aleksei/Projects/mycroft-precise/.venv/lib/python3.6/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'
Any help is really appreciated
The text was updated successfully, but these errors were encountered: