Closed kelshen1 closed 2 months ago
@kelshen1 - glad you're enjoying the SDK. I just cloned the repo fresh and ran the python demo with the french .pv
file, and everything loaded just fine. That error would indicate that either the .pv
file has been corrupted or it is a file for another product or ours that has been renamed. Could you delete that pv
file you're using and replace it with a fresh copy from the repo?
Closing due to inactivity
Hello, i'm building a project with your awesome kit, but i encounter an issue with the porcupine_params_fr.pv file.
this is the part of the code :
picovoice = Picovoice( access_key="**", keyword_path="/home/kelshen/Documents/elkay/modules/audio/picovoice/bestiole_fr_raspberry-pi_v3_0_0.pp> wake_word_callback=wake_word_callback, context_path="/home/kelshen/Documents/elkay/modules/audio/picovoice/elkaydemo.rhn", inference_callback=inference_callback, porcupine_library_path="/home/kelshen/Documents/elkay/modules/audio/picovoice/libpv_porcupine.so", porcupine_model_path="/home/kelshen/Documents/elkay/modules/audio/picovoice/porcupine_params_fr.pv", porcupine_sensitivity=0.5, rhino_library_path="/home/kelshen/Documents/elkay/modules/audio/picovoice/libpv_rhino.so", rhino_model_path="/home/kelshen/Documents/elkay/modules/audio/picovoice/rhino_params_fr.pv", rhino_sensitivity=0.5, endpoint_duration_sec=1., require_endpoint=True)
and the error when i call the program :
raise self._PICOVOICE_STATUS_TO_EXCEPTION[status]( pvporcupine._porcupine.PorcupineInvalidArgumentError: Initialization failed: [0] Model (.pv) file has incorrect format or belongs to a different platform. [1] Loading parameters failed with
INVALID_ARGUMENT
. [2] Picovoice Error (code0000012C
)please, can you tell me what i can do ?
kind regards
Kelshen