Coder Social home page Coder Social logo

Comments (6)

DrCoffey avatar DrCoffey commented on August 19, 2024

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.

from deepsqueak.

katze-lucky avatar katze-lucky commented on August 19, 2024

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.

from deepsqueak.

rebka1989 avatar rebka1989 commented on August 19, 2024

Hi Dr Coffey,
Happy holidays :)
I see this is a reoccurring error, and I am having trouble with it myself. Any help would be greatly appreciated.
I'm using (and need to use) Matlab2018b and Deepsqueak 2.6.2
I have the computer vision toolbox properly installed. rcnnObjectDetector.m is located in the vision toolbox.
When I run multidetect with the all shortcalls network, I get the following "skiping audio chunk" errors:

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

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

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

Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)DeepSqueak('multinetdect_Callback',hObject,eventdata,guidata(hObject),0)
Error in Network, Skiping Audio Chunk
Warning: Undefined function 'prctile' for input arguments of type 'double'.

Error in SqueakDetect (line 117)
im = im - prctile(im,5,2);
Error in DeepSqueak (line 30)
gui_mainfcn(gui_State, varargin{:});

Any idea on how to fix this?

Best,
Rebecca (from the Yizhar lab)

from deepsqueak.

DrCoffey avatar DrCoffey commented on August 19, 2024

Hey @rebka1989, you appear to be missing the prctile function. In older versions of Matlab this is in the Statistics and Machine Learning Toolbox.

https://www.mathworks.com/help/matlab/ref/prctile.html

from deepsqueak.

rebka1989 avatar rebka1989 commented on August 19, 2024

Thank you! :)

from deepsqueak.

KeyiYu0331 avatar KeyiYu0331 commented on August 19, 2024

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.

from deepsqueak.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.