sgoldenlab / simba

SimBA (Simple Behavioral Analysis), a pipeline and GUI for developing supervised behavioral classifiers
https://simba-uw-tf-dev.readthedocs.io/
GNU General Public License v3.0
272 stars 137 forks source link

SIMBA Crashing on V 1.89.4 when using GPU to Downsample Videos #355

Open Jsn-zhang opened 2 months ago

Jsn-zhang commented 2 months ago

Simba (1.89.4) will sometimes crash or refuse to down sample videos when the "use gpu" option is selected. No issues arise when the "use gpu" button is not selected. The first time I tried to down sample videos with GPU selected, it took over twice the amount of time to down sample compared to using CPU. Another attempt lead to a crash. Videos are all AVI format. No other manipulation was done other than attempting to down sample. Any idea why this happens or how to fix it? Thanks!

sronilsson commented 2 months ago

Thanks for reporting @Jsn-zhang! Yes, would be helpful to see the error msg if you can recreate it? To troubleshoot - if you are trying to recreate the error, it's helpful to have one or a couple of short video at hand.

Also to troubleshoot, if it has something to do with the FFMPEG commands when using AVI + GPU, if you convert your videos to mp4's using this menu below and then downsample, is it just as slow / errors out?

image