GithubHelp home page GithubHelp logo

dvl-tum / gomatch Goto Github PK

View Code? Open in Web Editor NEW
87.0 87.0 8.0 223 KB

Official PyTorch implementation of GoMatch -- "Is Geometry Enough for Matching in Visual Localization" [ECCV2022]

License: MIT License

Python 49.22% Jupyter Notebook 50.78%

gomatch's People

Contributors

grumpyzhou avatar sergioragostinho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gomatch's Issues

Data prepareation?

Is there any guide about the data prepareation, for example how to process megadepth for training?

How should I prepare my own dataset?

Hello, I have a question, why are the query image and database image processed together during the data preparation stage?
I want to obtain the positioning information of my own data in real time. How should I prepare the data?
Thanks

Data Processing instructions for MegaDepth Option 1 are incomplete.

Just logging some problems I've discovered.

I've been going over the data preparation instructions for megadepth and noticed that Option 1 is not really an option.

gomatch/tools/README.md

Lines 25 to 31 in 3cd031d

#### Option 1
By default the tool assumes there is a folder with the undistorted SfM reconstruction of MegaDepth symlinked to the `data` folder, as explained in the previous section. If the folder is symlinked, theoretically no arguments need to passed. Just call the tool with
```
$ python tools/prep_megadepth_2D3D_data.py
```
After completion, the tool will generate a number of files in `data/MegaDepth_undistort/data_processed/v2`.

If you follow those instructions it will not generate the necessary file that is then required in the follow-up step

gomatch/tools/README.md

Lines 42 to 49 in 3cd031d

### Generating a Descriptor Cache
Run the tool `tools/extract_features_immatch.py`.
```
python -m tools.extract_features_immatch --immatch_config 'immatch/sift' --dataset 'megadepth'
```
This will generate the descriptor cache for sift.

Our config is looking for

data_file: "sift_pts/megadepth_2d3d_q500ov0.35tp3-10_imsz.irat1.5.sift1024.npy"

but our generation script would never be able to create that file
data_save_path = os.path.join(
save_dir,
f"megadepth_2d3d_q{args.scene_max}ov{args.overlap[0]}-{args.overlap[1]}covis{topk_min}-{topk_max}.npy",
)

the string irat is not even part of the file name construction.

So something got lost during the public release. I'll try to see if I figure out what exactly.

can't find blind_pnp in tools/prep_cambridge_2D3D_data.py

Hi thanks for release your code, i had installed gomatch sucessfully. it occured No module named 'blind_pnp' when i wanted to preprocess the cambridge dataset. so i wonder how to get the module of blind_pnp looking forward to your reply.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.