put a debug stop at the line 22 in training.m file. Then run the code run_training([0,50],'testoutput') again. the code will stop at this point, check the value of p, max_channel
You can speed up the processing by change the common.h file. replace corresponding line with following line
#define MAX_CHANNEL 64 /* maxmimum number of filters */
in the training.m file, change line 22 to 24 to: P=reshape(P,max_channel,round(length(P)/max_channel)); L=load(namefile_IID);L=reshape(L,max_channel,round(length(L)/max_channel)); R=load(namefile_Ratio);R=reshape(R,max_channel,round(length(R)/max_channel));
I run the run_training([0,50],'testoutput') for a long time today, finally it appears that:
ReplyDelete??? Error using ==> reshape
Size arguments must be real integers.
Error in ==> training at 22
P=reshape(P,max_channel,length(P)/max_channel);
Error in ==> run_training at 112
training('ITD', 'IID', 'RATIO', Az, namefile_configuration)
put a debug stop at the line 22 in training.m file. Then run the code run_training([0,50],'testoutput') again.
ReplyDeletethe code will stop at this point, check the value of p, max_channel
You can speed up the processing by change the common.h file. replace corresponding line with following line
#define MAX_CHANNEL 64 /* maxmimum number of filters */
I followed what you said, but it appears that
ReplyDelete??? Error using ==> reshape
Size arguments must be real integers.
Error in ==> training at 23
L=load(namefile_IID);L=reshape(L,max_channel,length(L)/max_channel);
Error in ==> run_training at 112
training('ITD', 'IID', 'RATIO', Az, namefile_configuration)
you focus on the literature review first and finish it before next meeting. Let me check the code.
ReplyDeletein the training.m file, change line 22 to 24 to:
ReplyDeleteP=reshape(P,max_channel,round(length(P)/max_channel));
L=load(namefile_IID);L=reshape(L,max_channel,round(length(L)/max_channel));
R=load(namefile_Ratio);R=reshape(R,max_channel,round(length(R)/max_channel));
let me know the results.
This time it appears that
ReplyDelete??? Error using ==> reshape
To RESHAPE the number of elements must not change.
Error in ==> training at 22
P=reshape(P,max_channel,round(length(P)/max_channel));
Error in ==> run_training at 112
training('ITD', 'IID', 'RATIO', Az, namefile_configuration)