Giter VIP home page Giter VIP logo

hierarchical_visual_localisation's People

Contributors

a1302z avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

hierarchical_visual_localisation's Issues

Model

Where is the pretrained model and where should I put it?

SFM database and Keypoint coordinates

Hi @a1302z Thanks for your excellent work!
How did you get the SFM database and Keypoint coordinates?
how to get these files: data/images_points.db, data/points3D.txt, data/images.txt if the local method I choose is colmap ๏ผŸ
I use colmap to get the sfm model, sparse reconstruction generate multiple output instead of one.
Looking forward to your guidance , thanks!

Runtime error

This following line results in RuntimeError: invalid argument 5: k not in range for dimension at /pytorch/aten/src/THC/generic/THCTensorTopK.cu:23 error

values, indices = torch.topk(d, n_neighbors, dim=1, largest=False, sorted=True)

the tensor size of d is (2000,1) with n_neighbors = 2. If I change n_neighbors to 1, it works but it's inaccurate. Any ideas?

OperationalError during evaluation

I'm getting the following error while trying to run the evaluate.

  File "/home/Workspace/Python/hierarchical_visual_localisation/evaluate.py", line 1043, in <module>
    points3d, images, database_cursor, query_cursor, img_cluster, camera_matrices, query_images, query_image_ids, setup_time = setup(args)
  File "/home/Workspace/Python/hierarchical_visual_localisation/evaluate.py", line 443, in setup
    images = get_images()
  File "/home/Workspace/Python/hierarchical_visual_localisation/dataset_loaders/txt_to_db.py", line 44, in get_images
    for row in c.execute('SELECT image_id, qvec, tvec, camera_id, name, data_cols, xys, point3D_ids FROM images;'):
sqlite3.OperationalError: no such column: qvec

I have ofcourse downloaded the db file

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.