After training a neural network with my own data, it would not let me load the file in the GUI neural networks dropdown. It was trained off of the yolo.mouse3 network. I made it into a MAT file, and it nows shows up in the neural network dropdownclist in the GUI, but it still won't initialize.
What step am I missing?
This is the error when loading my new Mat file networks:
Unrecognized field name "detector".
Error in [SqueakDetect](matlab:matlab.lang.internal.introspective.errorDocCallback('SqueakDetect', 'C:\Users\jbg570\DeepSqueak\DeepSqueak-master\DeepSqueak-master\Functions\SqueakDetect.m', 14)) ([line 14](matlab: opentoline('C:\Users\jbg570\DeepSqueak\DeepSqueak-master\DeepSqueak-master\Functions\SqueakDetect.m',14,0)))
network=networkfile.detector;
^^^^^^^^^^^^^^^^^^^^
Error in [multinetdect_Callback](matlab:matlab.lang.internal.introspective.errorDocCallback('multinetdect_Callback', 'C:\Users\jbg570\DeepSqueak\DeepSqueak-master\DeepSqueak-master\Functions\multinetdect_Callback.m', 80)) ([line 80](matlab: opentoline('C:\Users\jbg570\DeepSqueak\DeepSqueak-master\DeepSqueak-master\Functions\multinetdect_Callback.m',80,0)))
Calls = [Calls; SqueakDetect(AudioFile,NeuralNetwork,handles.audiofiles(CurrentAudioFile).name,Settings(:,k),j,length(audioselections),networkname)];
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in [gui_mainfcn](matlab:matlab.lang.internal.introspective.errorDocCallback('gui_mainfcn', 'C:\Program Files\MATLAB\R2025b\toolbox\matlab\guide\gui_mainfcn.m', 95)) ([line 95](matlab: opentoline('C:\Program Files\MATLAB\R2025b\toolbox\matlab\guide\gui_mainfcn.m',95,0)))
feval(varargin{:});
^^^^^^^^^^^^^^^^^^
Error in [DeepSqueak](matlab:matlab.lang.internal.introspective.errorDocCallback('DeepSqueak', 'C:\Users\jbg570\DeepSqueak\DeepSqueak-master\DeepSqueak-master\DeepSqueak.m', 29)) ([line 29](matlab: opentoline('C:\Users\jbg570\DeepSqueak\DeepSqueak-master\DeepSqueak-master\DeepSqueak.m',29,0)))
gui_mainfcn(gui_State, varargin{:});
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)DeepSqueak('multinetdect_Callback',hObject,eventdata,guidata(hObject),0)
Error using [matlab.ui.internal.controller.uicontrol.UIControlController/triggerActionEvent](matlab:matlab.lang.internal.introspective.errorDocCallback('matlab.ui.internal.controller.uicontrol.UIControlController/triggerActionEvent', 'C:\Program Files\MATLAB\R2025b\toolbox\matlab\uicomponents\uicontrol+matlab+ui+internal+controller+uicontrol\UIControlController.m', 76)) ([line 76](matlab: opentoline('C:\Program Files\MATLAB\R2025b\toolbox\matlab\uicomponents\uicontrol+matlab+ui+internal+controller+uicontrol\UIControlController.m',76,0)))
Error while evaluating UIControl Callback.
After training a neural network with my own data, it would not let me load the file in the GUI neural networks dropdown. It was trained off of the yolo.mouse3 network. I made it into a MAT file, and it nows shows up in the neural network dropdownclist in the GUI, but it still won't initialize.
What step am I missing?
This is the error when loading my new Mat file networks:
Unrecognized field name "detector".
Error in [SqueakDetect](matlab:matlab.lang.internal.introspective.errorDocCallback('SqueakDetect', 'C:\Users\jbg570\DeepSqueak\DeepSqueak-master\DeepSqueak-master\Functions\SqueakDetect.m', 14)) ([line 14](matlab: opentoline('C:\Users\jbg570\DeepSqueak\DeepSqueak-master\DeepSqueak-master\Functions\SqueakDetect.m',14,0)))
network=networkfile.detector;
^^^^^^^^^^^^^^^^^^^^
Error in [multinetdect_Callback](matlab:matlab.lang.internal.introspective.errorDocCallback('multinetdect_Callback', 'C:\Users\jbg570\DeepSqueak\DeepSqueak-master\DeepSqueak-master\Functions\multinetdect_Callback.m', 80)) ([line 80](matlab: opentoline('C:\Users\jbg570\DeepSqueak\DeepSqueak-master\DeepSqueak-master\Functions\multinetdect_Callback.m',80,0)))
Calls = [Calls; SqueakDetect(AudioFile,NeuralNetwork,handles.audiofiles(CurrentAudioFile).name,Settings(:,k),j,length(audioselections),networkname)];
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in [gui_mainfcn](matlab:matlab.lang.internal.introspective.errorDocCallback('gui_mainfcn', 'C:\Program Files\MATLAB\R2025b\toolbox\matlab\guide\gui_mainfcn.m', 95)) ([line 95](matlab: opentoline('C:\Program Files\MATLAB\R2025b\toolbox\matlab\guide\gui_mainfcn.m',95,0)))
feval(varargin{:});
^^^^^^^^^^^^^^^^^^
Error in [DeepSqueak](matlab:matlab.lang.internal.introspective.errorDocCallback('DeepSqueak', 'C:\Users\jbg570\DeepSqueak\DeepSqueak-master\DeepSqueak-master\DeepSqueak.m', 29)) ([line 29](matlab: opentoline('C:\Users\jbg570\DeepSqueak\DeepSqueak-master\DeepSqueak-master\DeepSqueak.m',29,0)))
gui_mainfcn(gui_State, varargin{:});
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)DeepSqueak('multinetdect_Callback',hObject,eventdata,guidata(hObject),0)
Error using [matlab.ui.internal.controller.uicontrol.UIControlController/triggerActionEvent](matlab:matlab.lang.internal.introspective.errorDocCallback('matlab.ui.internal.controller.uicontrol.UIControlController/triggerActionEvent', 'C:\Program Files\MATLAB\R2025b\toolbox\matlab\uicomponents\uicontrol+matlab+ui+internal+controller+uicontrol\UIControlController.m', 76)) ([line 76](matlab: opentoline('C:\Program Files\MATLAB\R2025b\toolbox\matlab\uicomponents\uicontrol+matlab+ui+internal+controller+uicontrol\UIControlController.m',76,0)))
Error while evaluating UIControl Callback.