Skip to content

"Bad CPU type in executable" and other issues #1

Description

@pr-crypto

Hi,

I am kinda rookie.

I am running Mac OS10.15: Catalina.

I tried running the test example using

python predict.py test_data/orig/bun.wav test_data/prediction/bun.TextGrid 0.0 0.2

I get the following errors:

`1) Extracting features and classifying ...
/bin/sh: sbin/sox: Bad CPU type in executable
00:24:20.532 [VotFrontEnd2] INFO: Processing 1 instances.
Errror: Could not open file tmp/tmp.wav for reading.

==> processing options
==> load test file

==> ERROR: cannot read file.
/Users/XXXX/torch/install/bin/lua: utils.lua:47: attempt to index global 'dims' (a nil value)
stack traceback:
utils.lua:47: in function 'load_data'
classify_multi_class.lua:53: in main chunk
[C]: in function 'dofile'
...rs02/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: in ?

  1. Extract Durations ...
    Traceback (most recent call last):
    File "predict.py", line 57, in
    predict(args.input_path, args.output_path, args.start_extract, args.end_extract)
    File "predict.py", line 38, in predict
    post_process(prob_file, predict_file)
    File "/Users/XXXX/DeepVOT/run_all/post_process.py", line 12, in post_process
    with open(prob_file) as f:
    IOError: [Errno 2] No such file or directory: '/Users/XXXX/DeepVOT/run_all/tmp_files/tmp.prob'`

Any pointer will be highly appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions