Comments (2)
Fixed in d425315.
from flann.
Hi Andrew,
Thanks for reporting this issue. It was a silly bug that slipped in the
latest release. I'm on my way back from ICRA, I'll make another quick
release containing the fix when I get home.
Regards,
Marius
On May 13, 2011 8:19am, AndrewWalker
[email protected]
wrote:
I'm not sure if I'm doing something incorrectly, but the nn_radius query
available in the python bindings seems to be triggering an assertion. The
following minimal example triggers the problem on my machine. FLANN
1.6.9, compiled with with gcc 4.4.3, and accessing the library from
python 2.6.5.from pyflann import *
from numpy import *
from numpy.random import *
dataset = rand(10000, 3)
testset = rand(3)
flann = FLANN()
flann = FLANN()
params = flann.build_index(dataset, target_precision=0.9, log_level
= "info");result, dists = flann.nn_radius(testset,0.2, checks=params["checks"])
Which results in the following assertion:
{'branching': 32, 'cb_index':
0.5, 'centers_init': 'default', 'log_level': 'info', 'algorithm': 'default', 'build_weight':
0.0099999997764825821, 'leaf_max_size': 4, 'eps': 0.0, 'trees':
1, 'speedup': 0.0, 'memory_weight': 0.0, 'target_precision':
0.89999997615814209, 'sample_fraction':
0.10000000149011612, 'iterations': 5, 'random_seed': 822048278, 'checks':
32}python:
/home/walkera/software/flann-1.6.9-src/src/cpp/flann/algorithms/kdtree_index.h:540:
void flann::KDTreeIndex::getNeighbors(flann::ResultSet&, const typename
Distance::ElementType*, int, float) [with Distance = flann::L2]:
Assertion `result.full()' failed.Command terminated
Reply to this email directly or view it on GitHub:
from flann.
Related Issues (20)
- Please explain in README how to run tests
- Link in the README is dead HOT 2
- different dists result on window vs ubuntu HOT 1
- Allow disabling of static library build
- New ANN libraries much faster than flann! HOT 1
- Overwrite install list
- flann_cuda_tests are failing HOT 4
- links in readme outdated
- BIZ
- cannot access ubc website for downloading the source code for FLANN 1.9.1
- 'Composite' mode has duplicate results (nearest neighbors not unique) HOT 1
- How to build Flann on windows? HOT 2
- The knnsearch result seems to be random in C++ version HOT 1
- matlab issues
- 不支持C++ 17,要求版本为C++ 14 HOT 3
- Assessment of the difficulty in porting CPU architecture for the FLANN
- All URLs in the README are broken
- generates broken pkg-config pc file (stray semicolon)
- Flann 1.9.2 is not deterministic HOT 1
- There was a problem compiling the FLANN CADA 9.2,How to fix ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flann.