whisper-base-axmodel throwing error

#1
by luckyhde - opened

Hi
I tried to switch from whisper-small-axmodel to whisper-base-axmodel
lanadmin@homeassistant:/opt/whisper.axcl$ cp arguments.small arguments.json
lanadmin@homeassistant:/opt/whisper.axcl$ bash serve.sh
Loaded arguments from /opt/whisper.axcl/arguments.json
Starting whisper C++ service...
Whisper C++ service started.

  • Serving Flask app 'main'
  • Debug mode: off
    [Whisper STDOUT]: encoder: /opt/whisper.axcl/whisper-small-axmodel/ax650/small-encoder.axmodel
    [Whisper STDOUT]: decoder_main: /opt/whisper.axcl/whisper-small-axmodel/ax650/small-decoder-main.axmodel
    [Whisper STDOUT]: decoder_loop: /opt/whisper.axcl/whisper-small-axmodel/ax650/small-decoder-loop.axmodel
    [Whisper STDOUT]: language: de
    WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  • Running on all addresses (0.0.0.0)
  • Running on http://127.0.0.1:8801
  • Running on http://192.168.2.4:8801
    Press CTRL+C to quit
    [Whisper STDOUT]: Load encoder take 2561.32 ms
    [Whisper STDOUT]: Load decoder_main take 3687.12 ms
    [Whisper STDOUT]: Load decoder_loop take 4137.73 ms
    [Whisper STDOUT]: Read positional_embedding
    [Whisper STDOUT]: Entering interactive mode. Please enter WAV file paths.

** small is working **

homeassistant:/opt/whisper.axcl$ bash serve.sh
Loaded arguments from /opt/whisper.axcl/arguments.json
Starting whisper C++ service...
Whisper C++ service started.

  • Serving Flask app 'main'
  • Debug mode: off
    [Whisper STDOUT]: encoder: /opt/whisper.axcl/whisper-base-axmodel/ax650/base-encoder.axmodel
    [Whisper STDOUT]: decoder_main: /opt/whisper.axcl/whisper-base-axmodel/ax650/base-decoder-main.axmodel
    [Whisper STDOUT]: decoder_loop: /opt/whisper.axcl/whisper-base-axmodel/ax650/base-decoder-loop.axmodel
    [Whisper STDOUT]: language: de
    WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
  • Running on all addresses (0.0.0.0)
  • Running on http://127.0.0.1:8801
  • Running on http://192.168.2.4:8801
    Press CTRL+C to quit
    [Whisper STDOUT]: Load encoder take 925.68 ms
    [Whisper STDOUT]: Load decoder_main take 2202.91 ms
    [Whisper STDERR]: terminate called after throwing an instance of 'std::out_of_range'
    [Whisper STDERR]: what(): unordered_map::at
    Whisper C++ service exited with code -6. Restarting...

** but base not **

luckyhde changed discussion title from whisper-base-axmodel throwing to whisper-base-axmodel throwing error

Sign up or log in to comment