Git Product home page Git Product logo

Comments (9)

Skydes avatar Skydes commented on September 17, 2024

Sorry for the late reply. This repo provides evaluation for the CMU Seasons dataset, not the extended version. We used this script to generate a SIFT database from the .nvm file. It is called from the reconstruction script. I think that there is no sift_queries.db file, this must be a typo in the documentation.

from hfnet.

ssarahl avatar ssarahl commented on September 17, 2024

Thank you for your reply. I used the magic_cmu_to_db.py script to generate the sift_database.db for each slice, and found the create_cmu_query_db.py script for the sift_queries.db (not sure if it's needed like you said, but I generated them anyway). Now trying to run the evaluation, hopefully that works!

from hfnet.

ssarahl avatar ssarahl commented on September 17, 2024

When running evaluate_cmu.py, I get the following error, which seems to be related to PCA:

ValueError: n_components=1024 must be between 0 and min(n_samples, n_features)=446 with svd_solver='full'

The min(n_samples, n_features) number changes depending on the slice. Have you encountered this, or know how to fix the issue? I saw in another issue that you had mentioned possibly disabling PCA?

from hfnet.

SheldonHS avatar SheldonHS commented on September 17, 2024

When running evaluate_cmu.py, I get the following error, which seems to be related to PCA:

ValueError: n_components=1024 must be between 0 and min(n_samples, n_features)=446 with svd_solver='full'

The min(n_samples, n_features) number changes depending on the slice. Have you encountered this, or know how to fix the issue? I saw in another issue that you had mentioned possibly disabling PCA?

I've just met the same problem with you, have you solved it now?

from hfnet.

ssarahl avatar ssarahl commented on September 17, 2024

When running evaluate_cmu.py, I get the following error, which seems to be related to PCA:
ValueError: n_components=1024 must be between 0 and min(n_samples, n_features)=446 with svd_solver='full'
The min(n_samples, n_features) number changes depending on the slice. Have you encountered this, or know how to fix the issue? I saw in another issue that you had mentioned possibly disabling PCA?

I've just met the same problem with you, have you solved it now?

Hi SheldonHS, so sorry, I didn't end up solving this because it wasn't critical for me and moved on to now trying to run hfnet on a custom dataset. Let me know if you solved it though!

from hfnet.

bxh1 avatar bxh1 commented on September 17, 2024

When running evaluate_cmu.py, I get the following error, which seems to be related to PCA:
ValueError: n_components=1024 must be between 0 and min(n_samples, n_features)=446 with svd_solver='full'
The min(n_samples, n_features) number changes depending on the slice. Have you encountered this, or know how to fix the issue? I saw in another issue that you had mentioned possibly disabling PCA?

I've just met the same problem with you, have you solved it now?

Hi SheldonHS,Is it resolved? I also encountered the same problem

from hfnet.

ssarahl avatar ssarahl commented on September 17, 2024

When running evaluate_cmu.py, I get the following error, which seems to be related to PCA:
ValueError: n_components=1024 must be between 0 and min(n_samples, n_features)=446 with svd_solver='full'
The min(n_samples, n_features) number changes depending on the slice. Have you encountered this, or know how to fix the issue? I saw in another issue that you had mentioned possibly disabling PCA?

I've just met the same problem with you, have you solved it now?

Hi SheldonHS,Is it resolved? I also encountered the same problem

Hi @SheldonHS and @bxh1,

Not sure if you've solved already, I just found that disabling the PCA does in fact allow the evaluation to run! In line 30 of evaluate_cmu.py I set pca_dim to 0 (instead of 1024).

from hfnet.

kxhit avatar kxhit commented on September 17, 2024

Hi! After set pca_dim to 0. I got another error. Could anyone help me? Thanks!
Traceback (most recent call last): File "colmap-helpers/magic_cmu_to_db.py", line 68, in <module> main() File "colmap-helpers/magic_cmu_to_db.py", line 37, in main image_id = db.add_image(name, camera_id) File "/dockerdata/xinkong/hfnet/colmap-helpers/internal/db_handling.py", line 178, in add_image prior_q[3], prior_t[0], prior_t[1], prior_t[2])) sqlite3.IntegrityError: UNIQUE constraint failed: images.name

from hfnet.

Skydes avatar Skydes commented on September 17, 2024

This is probably a different issue. It says that the entry in the COLMAP database already existed. Maybe the script crashed and you launched it again without deleting the corresponding db?

from hfnet.

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.