Skip to content

Non-official Pytorch implementation of the CREStereo(CVPR 2022 Oral).

Notifications You must be signed in to change notification settings

dignakov/CREStereo-Pytorch

 
 

Repository files navigation

CREStereo-Pytorch

Non-official Pytorch implementation of the CREStereo (CVPR 2022 Oral) model converted from the original MegEngine implementation.

!CREStereo-Pytorch stereo detph estimation

update 2023/01/03:

  • enable DistributedDataParallel (DDP) training, training time is much faster than before.
# train DDP
# change 'dist' to True in /cfgs/train.yaml file
python -m torch.distributed.launch --nproc_per_node=8 train.py
# train DP
# change 'dist' to False in /cfgs/train.yaml file
python train.py

Important

  • This is just an effort to try to implement the CREStereo model into Pytorch from MegEngine due to the issues of the framework to convert to other formats (megvii-research/CREStereo#3).
  • I am not the author of the paper, and I am don't fully understand what the model is doing. Therefore, there might be small differences with the original model that might impact the performance.
  • I have not added any license, since the repository uses code from different repositories. Check the License section below for more detail.

Pretrained model

  • Download the model from here and save it into the models folder.
  • The model was covnerted from the original MegEngine weights using the convert_weights.py script. Place the MegEngine weights (crestereo_eth3d.mge) file into the models folder before the conversion.

Licences:

References:

About

Non-official Pytorch implementation of the CREStereo(CVPR 2022 Oral).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%