DrCoffey / DeepSqueak

DeepSqueak v3: Using Machine Vision to Accelerate Bioacoustics Research
BSD 3-Clause "New" or "Revised" License
370 stars 88 forks source link

Error in network, skiping audio chunk #201

Open SarahBacc opened 1 year ago

SarahBacc commented 1 year ago

Hi! I've just started using DeepSqueak to analyze old USV files for rat pups, but I keep getting this error "Error in network, skiping audio chunk". This is the detailed error message:

Error in Network, Why Broken? Warning: Undefined function 'detect' for input arguments of type 'uint8'.

Error in SqueakDetect (line 108) [bboxes, scores, Class] = detect(network, im2uint8(im), 'ExecutionEnvironment','auto','SelectStrongest',1);

Error in multinetdect_Callback (line 80) Calls = [Calls; SqueakDetect(AudioFile,NeuralNetwork,handles.audiofiles(CurrentAudioFile).name,Settings(:,k),j,length(audioselections),networkname)];

Error in gui_mainfcn (line 95) feval(varargin{:});

Error in DeepSqueak (line 29) gui_mainfcn(gui_State, varargin{:});

Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)DeepSqueak('multinetdect_Callback',hObject,eventdata,guidata(hObject),1)

In SqueakDetect (line 136) In multinetdect_Callback (line 80) In gui_mainfcn (line 95) In DeepSqueak (line 29) In matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)DeepSqueak('multinetdect_Callback',hObject,eventdata,guidata(hObject),1) No Calls found in: NC2021-01-14_09-58-09_0000077 Pup 1

I am using MATLAB 2023a and it has all the necessary toolboxes installed. I have tried different audio files and keep getting the same message.

DrCoffey commented 1 year ago

It looks like you don't have the 'detect' function which is part of the computer vision toolbox. Is that possible? It may also be that you have a second detect function that is for something else (like from a different 3rd party toolbox).

KeyiYu0331 commented 3 months ago

I have the same issue even after I downloaded the computer vision toolbox. Have you managed to solve it?