yu-li / TCMonoDepth

Enforcing Temporal Consistency in Video Depth Estimation, ICCV-W 2021.
MIT License
82 stars 8 forks source link

Assertion Error in Colab #6

Closed CGMikeG closed 2 years ago

CGMikeG commented 2 years ago

I am not sure if this is currently a torch issue but would anybody happen to know how to fix this.

/content/TCMonoDepth Run Video Depth Sample Initialize Device: cuda Creating model... model size is 0.5x Loading model from /content/TCMonoDepth/weights/_ckpt_small.pt.tar Loading model done... <VideoCapture 0x7f581ca43fd0> Error opening video stream or file Traceback (most recent call last): File "processVideoFile.py", line 187, in run(args) File "processVideoFile.py", line 155, in run write_video(outputfile, color_list, fps) File "processVideoFile.py", line 22, in write_video assert (len(output_list) > 0) AssertionError

Mofafa commented 2 years ago

Hi, This error means that you are not getting any depth output. It may be related to the input video. By the way, we don't have a file named processVideoFile.py. You can try our original code.

CGMikeG commented 2 years ago

thanks