-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detection Calls: Error in Network, skipping Audio Chunk #217
Comments
Hey @katze-lucky, that is a generic error when there is something wrong with the detect function. The most common reason is the computer vision toolbox is not installed. It may also be that there are 2 detect functions in the path and matlab is using the wrong one. you can highlight the detect function in that offending line and hit ctrl+D to open it. It should be the one in the computer vision toolbox. |
Hey DrCoffey, thank you so much for your reply! We did install computer vision system. I’m not sure if I did correctly as you instructed, I highlighted the ‘detect’ just under the line of ‘Error in SqueakDetect(line 108)’ and hit ctrl+D, it opened up a .m file named rcnnObjectDetector.m. Is it the function in computer vision toolbox. I checked the toolbox, it seems to be that one in the toolbox. |
Hi Dr Coffey, Error in multinetdect_Callback (line 77) Error in gui_mainfcn (line 95) Error in DeepSqueak (line 30) Error in Error in SqueakDetect (line 117) Any idea on how to fix this? Best, |
Hey @rebka1989, you appear to be missing the prctile function. In older versions of Matlab this is in the Statistics and Machine Learning Toolbox. |
Thank you! :) |
Hey guys, I realized instead of the computer vision toolbox, statistics and machine learning toolbox, you also need to download the deep learning toolbox in order to let it run properly. |
@KeyiYu0331 Can confirm deep learning toolbox is needed. I'm on v.2020b. Cheers Thanks All :D |
Describe the bug
Dear DeepSqueak team,
I'm using Matlab 2022b and installed the toolboxes required(Computer Vision System Toolbox™, Curve Fitting Toolbox™, Deep Learning Toolbox™ (formerly Neural Network Toolbox™), Image Processing Toolbox™, Parallel Computing Toolbox™, Signal Processing Toolbox™, Statistics and Machine Learning Toolbox™), and run DeepSqueak to detect rat calls for audio files recorded through Avisoft systsm. But it popped up the error window: Error in Network, skipping Audio Chunk and displayed the error details in the command window as below,
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)
Actually I had the same error window of ' Error in Network, skipping Audio Chunk ' when I used Matlab2022b 2 days ago, but it ran well 2-3 weeks ago in Matlab 2022b. Unfortunately I didn't save the error details when I had this issue in Matlab2022b, then I upgraded the Matlab to 2023b as my university's IT department suggested, and I still had this error in Matlab2023b. I am not sure if the error details are the same between this 2 Matlab version. But I put the error details of Matlab2023b here and hope you could help me to resolve this issue.
To Reproduce
Steps to reproduce the behavior:
With the attached audio/detection files:
Expected behavior
A detection file (.mat file) generated in the detection folder without any error. The Audio files I used do have calls when I ran them in Avisoft and in Matlab2022b two weeks ago when there was no such error.
Additional context
Windows 10 Education / MATLAB 2023b
I am very looking forward to your response, since may lab members in my lab have confronted this error. Thank you so much for your time. :)
The text was updated successfully, but these errors were encountered: