GithubHelp home page GithubHelp logo

Comments (5)

Vincentqyw avatar Vincentqyw commented on August 24, 2024

It's an issue of large model files in Lanet . Download the model here: https://huggingface.co/spaces/Realcat/image-matching-webui/tree/main/third_party/lanet/checkpoints and place it in the right location.

from image-matching-webui.

Vincentqyw avatar Vincentqyw commented on August 24, 2024

Fixed! I have made changes to the submodule 'lanet' and added a model downloader for use with 'lanet'. To download the updated code, please use the following command:

git clone --recursive https://github.com/Vincentqyw/image-matching-webui.git

from image-matching-webui.

Leonisux avatar Leonisux commented on August 24, 2024

Thank you for your response, but after I deploy it locally, it can't run on my computer. I try to run it with the common.utils.run_matching() with the key is 'sift', and it comes an error below.

[Terminal]
Traceback (most recent call last):
File "xxx\image-match\image-matching-webui\test.py", line 11, in
kpts, matches_raw, matches_ransac, nums, conf, geom, wraped_img =utils.run_matching(img0,img1,match_threshold,extract_max_keypoints, keypoint_threshold, key)
File "xxx\image-match\image-matching-webui\common\utils.py", line 356, in run_matching
pred0 = extract_features.extract(
File "xxx\image-match\image-matching-webui\hloc\extract_features.py", line 450, in extract
pred = model({"image": data["image"]})
File "xxx\lib\site-packages\torch\nn\modules\module.py", line 1130, in _call_impl
return forward_call(*input, **kwargs)
File "xxx\image-match\image-matching-webui\hloc\utils\base_model.py", line 24, in forward
return self._forward(data)
File "xxx\image-match\image-matching-webui\hloc\extractors\dog.py", line 77, in _forward
keypoints, scores, descriptors = self.sift.extract(image_np)
ValueError: not enough values to unpack (expected 3, got 2)

I haven't try other keys yet, but it seems like that the return value 'score' doesn't exist according to the Readme on https://github.com/colmap/pycolmap

from image-matching-webui.

Vincentqyw avatar Vincentqyw commented on August 24, 2024

Fixed! Please check this commit: 3e8b738

from image-matching-webui.

Leonisux avatar Leonisux commented on August 24, 2024

Fixed! Please check this commit: 3e8b738

Thank you!

from image-matching-webui.

Related Issues (20)

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.