Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with generating dictionary on own features #37

Open
JingruiYu opened this issue Aug 15, 2019 · 1 comment
Open

Problem with generating dictionary on own features #37

JingruiYu opened this issue Aug 15, 2019 · 1 comment

Comments

@JingruiYu
Copy link

Hello, I use my own CNN generated 512 dimension uchar descriptors of 7000 images and use DBoW3::Vocabulary vocab;
vocab.create( descriptors );
vocab.save( "vocabulary.gz" );
to generate dictionary.
Then I use another 100 images with descriptors generated from the same CNN to get vocabulary based on this dictionary. However, the vocabulary is null.
While, I use the same descriptors of the 100 images to get vocabulary based on another dictionary, which is generated with orb features, the vocabulary is not null.

So, why? Is there something wrong with the generated dictionary based on the CNN feature?

@hmf21
Copy link

hmf21 commented Aug 26, 2020

Hello, I use my own CNN generated 512 dimension uchar descriptors of 7000 images and use DBoW3::Vocabulary vocab;
vocab.create( descriptors );
vocab.save( "vocabulary.gz" );
to generate dictionary.
Then I use another 100 images with descriptors generated from the same CNN to get vocabulary based on this dictionary. However, the vocabulary is null.
While, I use the same descriptors of the 100 images to get vocabulary based on another dictionary, which is generated with orb features, the vocabulary is not null.

So, why? Is there something wrong with the generated dictionary based on the CNN feature?

I get the same problems when I use DBoW::create( ). And besides, it seems to cost more time when running function DBoW3::Vocabulary vocab("./vocabulary.yml.gz") about ten times comparing to the spent time in create function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants