DeepSqueak icon indicating copy to clipboard operation
DeepSqueak copied to clipboard

Detection network taining

Open Fiuza-J opened this issue 2 years ago • 9 comments

Hello Dr. Coffey,

I am trying to optimize call detection using the Rat Detector YOLO V1 network in my rat USV recordings. I was trying to use detection files from a previous dataset where I manually drew all the call boxes to generate the call images and then train the network with those. I have 118 detection files and I've selected all of them but when it is creating images it stops in the 15th file. I tried to do this twice and the result was the same. I don't get any error message in MATLAB (the second time I just got warnings, but I assume it is because MATLAB had to overwrite the previous files).

image

Is there a limit of detection files to be used for this feature or is there something that I am missing? Thank you in advance for your time.

Best, Juliana

Fiuza-J avatar Jun 13 '22 13:06 Fiuza-J

Hey @Fiuza-J that is very strange. There should not be a limit on detection files, I'll look into it.

DrCoffey avatar Jun 13 '22 17:06 DrCoffey

Are your detection file names very similar? It looks like it is trying to write them to the same directory?

DrCoffey avatar Jun 13 '22 17:06 DrCoffey

Hey DrCoffey,

Yes, actually, part of the name overlaps between files. Here are some of them:

image

Fiuza-J avatar Jun 13 '22 21:06 Fiuza-J

It could take me a bit to get around to troubleshooting this. In the meantime, you could copy a set of 20 of those files and just rename them 1,2,3,4,...20 and see if that works.

DrCoffey avatar Jun 13 '22 22:06 DrCoffey

Hey @DrCoffey,

Thank you for the quick response! I tried to do that but it still gets stuck in the 15th file. This time I didn't get any warning message tho.

image

Fiuza-J avatar Jun 14 '22 10:06 Fiuza-J

haha, ok well at least that is half the issue figured out. I'll look into it ASAP

DrCoffey avatar Jun 14 '22 17:06 DrCoffey

Hey @DrCoffey,

Just checking if you have already had some time to look into this. Thank you again for your help!

Best, Juliana

Fiuza-J avatar Jun 30 '22 17:06 Fiuza-J

Hey @Fiuza-J Sorry for the slow reply, things have been crazy at lab and DeepSqueak is on the back burner.

I just tested a 20 file run and got through them all. Perhaps something is wrong with the 15th file in your set. Have you tried just removing that 1 file? Also, please update DeepSqueak there were a couple bug fixes recently

DrCoffey avatar Jul 27 '22 20:07 DrCoffey

Hello @DrCoffey, I have a similar problem. I wanted to additionally train the network with my USVs and some detection files freeze DS when creating network training images. I am attaching the files so maybe you could take a look whats wrong. The files 3 and 11 freeze on default settings of spectrogram. File 1 freezes when i increase the length of the image to 1 s. I am currently on Matlab 2021b and DS 3.0.4 Detection_files.zip

RaphaelField avatar Aug 02 '22 13:08 RaphaelField