facebookresearch / consistent_depth

We estimate dense, flicker-free, geometrically consistent depth from monocular video, for example hand-held cell phone video.
MIT License
1.61k stars 236 forks source link

install script in colaboratory is not working #42

Open nikste opened 3 years ago

nikste commented 3 years ago

to reproduce:

run steps in colab:

link to colab

install script fails

!./scripts/install.sh fails with some error

kikirizki commented 3 years ago

I have the same problem, any update on this?

kikirizki commented 3 years ago

@nikste I partially found the problem that caused the error it is torch version missmatch currently google colab use cuda11 and the repo need torch 1.4 with cuda 10

Ademord commented 3 years ago

@kikirizki do you know how can i feed the video frames real time ? (how to integrate this code into a live cam, for example? where do i pass the frames/ or what format do they expect?)

kayleeliyx commented 3 years ago

I got the same problem

kikirizki commented 3 years ago

I got the same problem

You should downgrade pytorch in google colab to the version 1.4 with cuda10, now it works for me

kikirizki commented 3 years ago

@kikirizki do you know how can i feed the video frames real time ? (how to integrate this code into a live cam, for example? where do i pass the frames/ or what format do they expect?)

you can simply process the Mat captured by opencv