I have 2 errors :
1/ test.dat exist (created by api -> Save Index)
Input: pastec -i test.dat
Output:
Pastec Index v0.0.1
Reading the numbers of occurences.
Counting the number of words per image.
Loading the index in memory.
Reading the visual words file.
Could not open the input file.
2/ If I used your file (visualWordsORB.dat)
Input: pastec -i visualWordsORB.dat
Output:
Pastec Index v0.0.1
Reading the numbers of occurences.
Counting the number of words per image.
Loading the index in memory.
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted (core dumped)
Only solution work: pastec visualWordsORB.dat, but the file is always initialized.
Hi,
I have 2 errors : 1/ test.dat exist (created by api -> Save Index) Input: pastec -i test.dat
Output: Pastec Index v0.0.1 Reading the numbers of occurences. Counting the number of words per image. Loading the index in memory. Reading the visual words file. Could not open the input file.
2/ If I used your file (visualWordsORB.dat) Input: pastec -i visualWordsORB.dat
Output: Pastec Index v0.0.1 Reading the numbers of occurences. Counting the number of words per image. Loading the index in memory. terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Aborted (core dumped)
Only solution work: pastec visualWordsORB.dat, but the file is always initialized.
Thanks for your help