nianticlabs / monodepth2

[ICCV 2019] Monocular depth estimation from a single image
Other
4.13k stars 953 forks source link

Train a monocular video #456

Closed pg37013 closed 1 year ago

pg37013 commented 1 year ago

If I had my own monocular video, how should I train monodepth2? I can't understand how to build the split file when we want to train with monocular videos.

daniyar-niantic commented 1 year ago

Hi @pg37013 , Please see datasets/kitti_dataset.py for an example. The split file is a list of frames that are used for training, so this heavily depends on how you prepare your video.