nerfstudio icon indicating copy to clipboard operation
nerfstudio copied to clipboard

Render fails silently (in google colab)

Open Abdessamad-Taoufiq opened this issue 2 years ago • 3 comments

When rendering a 20 seconds video in google colab and with custom images, the render "finishes" (cell executes successfully without any error), however, there's no output. But when video length is set to <4 seconds. the render works well and produces an output.

Abdessamad-Taoufiq avatar Nov 19 '22 14:11 Abdessamad-Taoufiq

I will take a look at this-- unfortunately there is a bug in Google Colab at the moment where not all of the cell output is being shown, so it is a bit difficult to debug.

By chance, did you notice that the memory usage was getting high? I doubt that was the issue but maybe the cell ran out of memory and failed to complete.

akristoffersen avatar Nov 21 '22 03:11 akristoffersen

yes, the memory usage was getting high (>90%) right before the cell completes. thanks for your answer.

Abdessamad-Taoufiq avatar Nov 21 '22 12:11 Abdessamad-Taoufiq

Ah, I think it did run out of memory then. Currently, all frames are stored in memory before they are written out to a full video.

For now I think you'd have to limit the length of the videos on Colab-- I can add an issue about possibly writing the frames to a temporary directory during rendering so the length of the video wouldn't matter.

akristoffersen avatar Nov 21 '22 20:11 akristoffersen

Hi! I also have a similar issue. Rendering code executes without error in colab. But no any output at the end. In my case it didn't run out of memory. I run instant-gpt model. I didn't change the default parameters: video duration, fps and others

tojiboyevf avatar Dec 14 '22 01:12 tojiboyevf