Miffyli / asv-cm-reinforce

Optimizing speaker verification and spoofing countermeasure systems together with REINFORCE
MIT License
13 stars 4 forks source link

parcellfun appear an execution error (error: __parcellfun_get_next_result__: could not receive result) #2

Open zlin0 opened 1 year ago

zlin0 commented 1 year ago

@Miffyli Hi, thanks for your open-source code of CQCC extraction in the octave!

I am new to Octave, and got an error:

execution error
error: __parcellfun_get_next_result__: could not receive result
error: called from
    parcellfun at line 201 column 16
    extract_based_on_list at line 15 column 2

Here is the processing I got the error: First, I installed parallel (require struct > 1.0.14) :

octave:> cd ~/software
octave:> pkg install parallel-4.0.1.tar.gz
octave:> pkg install struct-1.0.18.tar.gz

Then I am extract CQCC:

octave:29> cd asv-cm-reinforce/cqcc_extraction
octave:30> pkg load parallel
octave:31> filelist_file="con_data/wav.lst"
octave:32> input_dir="con_wav/"
octave:33> extract_based_on_list(filelist_file, input_dir, input_dir, 5)

Here is my pkg list

Package Name | Version | Installation directory --------------+---------+----------------------- parallel | 4.0.1 | /home/smg/zhanglin/octave/parallel-4.0.1 struct | 1.0.18 | /home/smg/zhanglin/octave/struct-1.0.18

Have you met a similar error before? I didn’t find any useful solution from google. Sorry, I am new to Octave, did I do anything in wrong?

Thank you!

zlin0 commented 1 year ago

And I find a similar issue in https://stackoverflow.com/questions/65898175/octave-parallel-package-user-defined-function-call-issues

They suggested to define an external function in *.m, but your code already does that like creating an extract_and_save.m right? Do you have any suggestions? Thank you!

Miffyli commented 1 year ago

Oh boy, this code comes back to haunt me 🙈 . I would first recommend trying to find an implementation in Python or other more sane language, if possible. Back during this project one did not exist, but one might now.

But back to this code: I recall having some similar obscure issues, but for live of me can not recall how I fixed these. Some faint memories:

Sorry I could not be of more help 😅 . Things disappear from memory rapidly in three years.

zlin0 commented 1 year ago

Thank you so much for your really quick reply!

Here is a python version for cqcc, I can run it, but sooooo slow, and also no longer maintained ><. So I back to your code since it supports parallel.

I will try to find other solutions. >< Thank you!