Skip to content

Non-zero exit code on main #5

Closed
@chrisbward

Description

@chrisbward

Noticed an error there; open -f: no such file or directory

But it seems that the sample has been found as it splits this below

(base) ➜  go-whisper git:(main) ✗ cd build 
(base) ➜  build git:(main) ✗ ./main -m ../models/ggml-large.bin -f ../samples/jfk.wav
flag provided but not defined: -m
Usage of ./main:
  -duration duration
        Duration of audio to process
  -language string
        Spoken language
  -offset-n uint
        Segment index offset
  -offset-t duration
        Time offset
  -proc int
        Number of processors, use 0 for sequential (default -1)
  -threads uint
        Number of threads to use during computation
whisper_model_load: loading model from '../models/ggml-large.bin'
whisper_model_load: n_vocab       = 51865
whisper_model_load: n_audio_ctx   = 1500
whisper_model_load: n_audio_state = 1280
whisper_model_load: n_audio_head  = 20
whisper_model_load: n_audio_layer = 32
whisper_model_load: n_text_ctx    = 448
whisper_model_load: n_text_state  = 1280
whisper_model_load: n_text_head   = 20
whisper_model_load: n_text_layer  = 32
whisper_model_load: n_mels        = 80
whisper_model_load: f16           = 1
whisper_model_load: type          = 5
whisper_model_load: adding 1608 extra tokens
whisper_model_load: mem_required  = 4712.00 MB
whisper_model_load: ggml ctx size = 2950.97 MB
whisper_model_load: memory size   =  304.38 MB
whisper_model_load: model size    = 2950.66 MB
open -f: no such file or directory

whisper_full_parallel: the audio has been split into 16 chunks at the following times:
whisper_full_parallel: split 1 - 00:00:00.680
whisper_full_parallel: split 2 - 00:00:01.370
whisper_full_parallel: split 3 - 00:00:02.060
whisper_full_parallel: split 4 - 00:00:02.750
whisper_full_parallel: split 5 - 00:00:03.430
whisper_full_parallel: split 6 - 00:00:04.120
whisper_full_parallel: split 7 - 00:00:04.810
whisper_full_parallel: split 8 - 00:00:05.500
whisper_full_parallel: split 9 - 00:00:06.180
whisper_full_parallel: split 10 - 00:00:06.870
whisper_full_parallel: split 11 - 00:00:07.560
whisper_full_parallel: split 12 - 00:00:08.250
whisper_full_parallel: split 13 - 00:00:08.930
whisper_full_parallel: split 14 - 00:00:09.620
whisper_full_parallel: split 15 - 00:00:10.310
whisper_full_parallel: the transcription quality may be degraded near these boundaries

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions