Coder Social home page Coder Social logo

Comments (3)

Chen-Xieyuanli avatar Chen-Xieyuanli commented on June 14, 2024

Hi @shenhai911, thanks for using our code!

The original OverlapNet paper used the first version.

The PyTorch version was implemented by other users. As far as I know, they found it also works well.

Different amounts of data will influence the training time, and the overlap distributions vary from different datasets, where the normalization can be adjusted accordingly.

from overlapnet.

shenhai911 avatar shenhai911 commented on June 14, 2024

Dear author,
Thank you for your quick reply. Now I have two main questions to ask.

  1. When I use the first version of the code to generate the ground-truth corresponding to sequence 08, the following error occurred when dividing the training set and the validation set:

Traceback (most recent call last): File "src/generate_training_data/generate_ground_truth_single_sequence.py", line 110, in <module> train_data, validation_data = split_train_val(dist_norm_data) File "src/generate_training_data/../../src/utils/split_train_val.py", line 21, in split_train_val train_set, test_set = train_test_split(ground_truth_mapping, test_size=test_size) File "/home/xxx/softwares/anaconda3/envs/OverlapNet_env/lib/python3.7/site-packages/sklearn/model_selection/_split.py", line 2423, in train_test_split n_samples, test_size, train_size, default_test_size=0.25 File "/home/xxx/softwares/anaconda3/envs/OverlapNet_env/lib/python3.7/site-packages/sklearn/model_selection/_split.py", line 2046, in _validate_shuffle_split "(0, 1) range".format(test_size, n_samples) ValueError: test_size=0 should be either positive and smaller than the number of samples 2 or a float in the (0, 1) range

And I paste the related codes as follows:

Selection_034

Selection_035

I printed the histogram statistical results and the normalized results, and pasted them as follows:
Selection_036

I don't know if it's because of my mistake, or if it's a bug in itself. I wonder if you have encountered this problem.

In addition, in your paper, you take the sequence 03-10 as the training set and the sequence 11 as the validation set.
Selection_033

Therefore, I want to know, if I take the sequence 11 as the validation set, then, when generating the ground-truth, does the sequence 03-10 need to be divided into training set and validation set?

It would be great if you could explain more. Thank you very much.

from overlapnet.

Chen-Xieyuanli avatar Chen-Xieyuanli commented on June 14, 2024

Hey @shenhai911, for the OverlapNet training in the final version, we use the validation splits of all sequences instead of only one sequence to guide a more general distribution. We however still use only sequence 02 for tuning the parameters of our SLAM algorithm, and therefore still call it validation sequence. We didn't use any data from the test set, seq 11-21.

For the distribution issue of seq08, it seems the overlap values are wrong and could be caused by the inaccurate poses. I guess you are using the ground truth poses provided by KITTI, which actually has lots of noise. You may use the poses we provided in the SemanticKITTI, where we use our SLAM algorithm to refine the poses and you may get better results. download link

from overlapnet.

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.