phoenixnn / rgbd-object-propsal Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0
License: GNU General Public License v3.0
this error occur ๏ผ
>> Superpixel2Bbox
processing image 1
OK!
OK!
OK!
OK!
# of masks from multi-scale segmentation: 912
clusterTolerance is set to 0.02
loaded 107358 data points for image 1
src/segmentations/m_pcd_clustering.out: symbol lookup error: src/segmentations/m_pcd_clustering.out: undefined symbol: _ZN3pcl6search6KdTreeINS_8PointXYZENS_11KdTreeFLANNIS2_N5flann9L2_SimpleIfEEEEEC1Eb
Error using load
Unable to read file './clusters_1.txt': no such file or directory.
Error in HierClustering (line 53)
clusters = load(fullfile('./', txtFile));
Error in Superpixel2Bbox (line 101)
[bbox_hc, masksHC_cell] = HierClustering(pcd, clusterTolerance, inliers, isV, isH, isB, i);
in HierClustering.m
%% clustering
segMasks = [];
clusterTolerance = clusterTolerance/100; % use meters
for i = 1 : numel(clusterTolerance)
% euclidean clustering
system(sprintf('src/segmentations/m_pcd_clustering.out %s %d %d', ...
pcdFile, clusterTolerance(i), pid));
% read in result from text file
txtFile = ['clusters_', num2str(pid), '.txt'];
clusters = load(fullfile('./', txtFile));
% save mask
nC = max(clusters);
for j = 1 : nC
tmp = zeros(h, w);
idx = ind(clusters == j);
tmp(idx) = 1;
mask = cell(1,1);
mask{1,1} = find(tmp);
segMasks = cat(1, segMasks, mask);
end
system(['rm ./', txtFile]);
end
Dear folks, please need some help. Im trying run the code, but when I run Superpixel2Bbox.m, a error appears in m_pcd_clustering.out call.
Line:
system(sprintf('src/segmentations/m_pcd_clustering.out %s %d %d', ...
pcdFile, clusterTolerance(i), pid));
Error: [pcl::PCDReader::readHeader] Could not find file '1.pcd'
Calling apart this file on terminal:
zis@Zis:~/dev/code/RGBD-object-propsal/src/segmentations$ ./m_pcd_clustering.out 1.pcd
clusterTolerance is set to 0.01
[pcl::PCDReader::readHeader] Could not find file '1.pcd'.
loaded 0 data points for image 1
Segmentation fault
1.pcd are located on folder, I tried many possibilities, tried with PCL 1.7, 1.8, 1.9, but with no success. Tried too open 1.pcd on pcl_viewer, with success, tried call m_pcd_clustering.out with another pcd file, different directories, permissions calls, but no luck.
Anyone have the source code of file m_pcd_clustering.out? I think rebuilding this file on current S.O. libraries can solve this problem, or at least, I can debug to fix what is going on. Anyone got this problem too?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.