You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Cpt.Captain
0e2a4b2340
|
2 years ago | |
---|---|---|
cfgs | 2 years ago | |
doc/img | 3 years ago | |
frontend | 2 years ago | |
function_convertion_tests | 3 years ago | |
models | 3 years ago | |
nets | 2 years ago | |
.gitattributes | 3 years ago | |
.gitignore | 3 years ago | |
README.md | 3 years ago | |
api_server.py | 2 years ago | |
convert_to_onnx.py | 3 years ago | |
convert_weights.py | 3 years ago | |
dataset.py | 2 years ago | |
test_model.py | 2 years ago | |
train.py | 2 years ago | |
train_lightning.py | 2 years ago |
README.md
CREStereo-Pytorch
Non-official Pytorch implementation of the CREStereo (CVPR 2022 Oral) model converted from the original MegEngine implementation.
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 (https://github.com/megvii-research/CREStereo/issues/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:
- CREStereo (Apache License 2.0): https://github.com/megvii-research/CREStereo/blob/master/LICENSE
- RAFT (BSD 3-Clause):https://github.com/princeton-vl/RAFT/blob/master/LICENSE
- LoFTR (Apache License 2.0):https://github.com/zju3dv/LoFTR/blob/master/LICENSE
References:
- CREStereo: https://github.com/megvii-research/CREStereo
- RAFT: https://github.com/princeton-vl/RAFT
- LoFTR: https://github.com/zju3dv/LoFTR
- Grid sample replacement: https://zenn.dev/pinto0309/scraps/7d4032067d0160
- torch2mge: https://github.com/MegEngine/torch2mge