Open vonsander opened 11 months ago
Uncheck the "show grid" box (or set it to False
in the code). Maybe that helps? If not, it's likely because you're going OOM.
What runtime were you on? I'm using colab pro+ and used high memory machine.
In meantime...
Easy win here is to ffmpeg the video and rescale/downsample frame rate to 1-3 beforehand so it doesn't end up in memory. Or just use decord as I suggest in the notebook and select idxs efficiently. I'll update to do one of these 2 soon, as I think the notebook is too hard to read rn.
Unchecked the "show grid", re-ran it and got the "Your session crashed after using all available RAM" message. I guess I need to upgrade to a paid Colab subscription :D Either that or try rescaling/downsampling the frame rate or use Decord.
P.S. Do you by any chance happen to sell consulting as well? Eg. on an hourly basis.
Ah yea that makes sense. I will update the notebook as soon as I can here so its more accessible for folks without colab pro+. Thanks for the heads up.
As for consulting, you can shoot me an email at naterawdata@gmail.com to discuss. Most of my time is dedicated to another client right now, but open to conversation.
Hey!
Used the following parameters for an 18 second video (I'm looking to get 1 fps):
The session crashed, here's the log:
What should I do? Thanks in forward! :)