Picovoice / eagle

On-device speaker recognition engine powered by deep learning
Apache License 2.0
26 stars 2 forks source link

Eagle Issue: Failed to initialize Eagle: Profile initialization failed #65

Closed mshmedlab closed 3 months ago

mshmedlab commented 5 months ago

Have you checked the docs and existing issues?

SDK

Python

Eagle package version

1.0.2

Framework version

Python 3.8

Platform

Linux (x86_64)

OS/Browser version

UBNTU 20.04

Describe the bug

I am running python3 eagle_demo_mic.py. With the following command: python3 eagle_demo_mic.py enroll --access_key ${ACCESS_KEY} --output_profile_path ${OUTPUT_PROFILE_PATH} ACCESS_KEY is set to my access key OUTPUT_PROFILE_PATH=/tmp/raz.pv I am geeting as result: Failed to initialize Eagle: Profile initialization failed: [0] Picovoice Error (code 00000136) [1] Picovoice Error (code 00000136) [2] Picovoice Error (code 00000136) [3] Picovoice Error (code 0000012C) [4] Picovoice Error (code 0000012C) Traceback (most recent call last): File "eagle_demo_mic.py", line 246, in main() File "eagle_demo_mic.py", line 136, in main eagle_profiler = pveagle.create_profiler( File "/home/raz/.local/lib/python3.8/site-packages/pveagle/_factory.py", line 73, in create_profiler return EagleProfiler( File "/home/raz/.local/lib/python3.8/site-packages/pveagle/_eagle.py", line 240, in init raise _PICOVOICE_STATUS_TO_EXCEPTION[status]( pveagle._eagle.EagleActivationError: Profile initialization failed: [0] Picovoice Error (code 00000136) [1] Picovoice Error (code 00000136) [2] Picovoice Error (code 00000136) [3] Picovoice Error (code 0000012C) [4] Picovoice Error (code 0000012C)

2 days ago the same command was working

Steps To Reproduce

open terminal cd to ~/picovoice/pveagledemo-1.0.2/pveagledemo set ACCESS_KEY and OUTPUT_PATH run: ~/picovoice/pveagledemo-1.0.2/pveagledemo

Expected Behavior

Start enrolling process

ksyeo1010 commented 5 months ago

Is your machine connected to the internet? Can you double-check your usage in https://console.picovoice.ai/?

mshmedlab commented 5 months ago

Hello Yeo, I was connected to the internet and usage was few percent only. Suddenly after 15 minutes it started working.

1. Could you share with us the meaning of the error codes? 2. Note that the error was only on Eagle and Rhino was working 3. It's a real time system and we can afford to have it stalled, is there a way to avoid this problem. How often should it have access to the internet? 4. Is there a log that I can check?

Thanks for your prompt response, Raz

[cid:cd9e9c08-5656-431b-9d0c-def9333d4577]

Mobile: +972-545234130

Email: @.***

Med Smart Hub ltd.

Yadid Ha-Kholot 3,

Zip Code 3079528,

POB 3571,

Industrial Park Caesarea,

Israel.


From: Kwangsoo Yeo @.> Sent: Wednesday, May 15, 2024 7:50 PM To: Picovoice/eagle @.> Cc: MSH LAB @.>; Author @.> Subject: Re: [Picovoice/eagle] Eagle Issue: Failed to initialize Eagle: Profile initialization failed (Issue #65)

Is your machine connected to the internet? Can you double-check your usage in https://console.picovoice.ai/?

— Reply to this email directly, view it on GitHubhttps://github.com/Picovoice/eagle/issues/65#issuecomment-2113020754, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BIL7VXHRFTICPXHCK7EZ3GDZCOG4BAVCNFSM6AAAAABHXWS5JGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJTGAZDANZVGQ. You are receiving this because you authored the thread.Message ID: @.***>

ksyeo1010 commented 5 months ago

The error codes you see are just internal codes not related to the actual problem which is activation error, something most likely related to network issues. You just need to connect to internet every few days or so. Is the issue still there?

mshmedlab commented 5 months ago

Yesterday the problem happen again with eagle. Its the same activation key ad the Rhino, it's indicated that the network was working The only way I was able to make it work is to disable the Eagle. Do I need to have it connected all the time to the network.

mrrostam commented 4 months ago

Yes, Eagle requires an active internet connection.