-
Notifications
You must be signed in to change notification settings - Fork 89
Training Detection Networks
To create an image database for training a faster-RCNN detector:
-
Select "Tools > Network Training > Create Network Training Images"
-
In the dialog box, select all files to create images from.
-
Enter spectrogram settings.
-
FTT windows length and NFFT are specified in seconds.
- Tip: Set [Focus] window to the image length you want to create and use the auto spectrogram settings in the [Display Settings] button to determine the best settings.
-
-
Enter image length.
- Images should fit a couple calls comfortably. 1/2 second good for short USVs
-
Select number of augmented duplicates.
- The number of times to duplicate each image, with random amplitude and scaling modification.
- This feature increases the size and variability of training sets to increase generalizability.
To train a Yolo V2 detector: (Use 2020a or later)
-
Select "Tools > Network Training > Train Network"
-
In the dialog box, select all training tables from which to train from (saved in "DeepSqueak\Training\").
-
Decide whether or not to use a pre-trained network as the starting point.
-
Training will take hours. When finished a save dialog will appear.
For advanced users: To change the network architecture, edit "TrainSqueakDetector.m"
Copyright © 2018 by Russell Marx & Kevin Coffey. All Rights Reserved. https://doi.org/10.1038/s41386-018-0303-6