PyTorch library for dense matching network research
Top 48.1% on sourcepulse
This library provides a comprehensive framework for dense matching tasks, including implementation, training, and evaluation of various deep learning models. It supports numerous standard datasets for geometric, optical flow, and semantic matching, along with scripts for performance analysis and score generation. The library is designed for researchers and practitioners in computer vision working on dense correspondence problems.
How It Works
The library implements several state-of-the-art dense matching architectures, including GLU-Net, PWC-Net, PDC-Net, and WarpC, often incorporating novel loss functions like Probabilistic Warp Consistency (PWC) and Globally Optimized Correspondence Volumes (GOCor). These methods leverage PyTorch and often utilize multi-stage or multi-scale approaches for improved accuracy, especially in challenging scenarios with large appearance changes or viewpoint variations.
Quick Start & Requirements
conda create -n dense_matching_env python=3.7
, conda activate dense_matching_env
), then pip install numpy opencv-python torch torchvision matplotlib imageio jpeg4py scipy pandas tqdm gdown pycocotools timm
.pip install cupy
or pip install cupy-cudaXX
for specific CUDA versions). Git submodules must be initialized (git submodule update --init --recursive
).admin/local.py
to specify dataset paths.assets/download_pre_trained_models.sh
.Highlighted Details
Maintenance & Community
The project is primarily maintained by Prune Truong. Updates are noted in the changelog, with recent activity including refactoring and new demo additions.
Licensing & Compatibility
The repository does not explicitly state a license in the README. However, it mentions borrowing code from other projects, which may have their own licenses. Users should verify licensing for commercial use.
Limitations & Caveats
2 years ago
1 week