colin97 / point2mesh Goto Github PK
View Code? Open in Web Editor NEWMeshing Point Clouds with Predicted Intrinsic-Extrinsic Ratio Guidance (ECCV2020)
License: MIT License
Meshing Point Clouds with Predicted Intrinsic-Extrinsic Ratio Guidance (ECCV2020)
License: MIT License
I got the following error while post processing
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Detecting C compiler ABI info
CMake Error: Generator: execution of make failed. Make command was: /usr/bin/gmake -f Makefile cmTC_0387e/fast &&
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/cc
CMake Error: Generator: execution of make failed. Make command was: /usr/bin/gmake -f Makefile cmTC_f293e/fast &&
-- Check for working C compiler: /usr/bin/cc - broken
CMake Error at /opt/conda/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:69 (message):
The C compiler
"/usr/bin/cc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /workspace/SDP/postprocess/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_f293e/fast && No such file or directory
Generator: execution of make failed. Make command was: /usr/bin/gmake -f Makefile cmTC_f293e/fast &&
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt
-- Configuring incomplete, errors occurred!
See also "/workspace/SDP/postprocess/build/CMakeFiles/CMakeOutput.log".
See also "/workspace/SDP/postprocess/build/CMakeFiles/CMakeError.log".
Hi there,
Thank you for releasing the codes. I recently found that the geodesic distance is only computed between points in the same face or in the faces which share the same vertex. I noticed that in the paper, it says you compute geodesic in a small neighborhood, I wonder if there are more details about how this satisfy the following label computation process. And for geodesic distance between points on different faces, the distance is computed as
double d = (pc[u] - vertices[i]).length() + (pc[v] - vertices[i]).length();
this seems not correct to me. Do you mind providing more details about this part? Thanks a lot!
Hello,
Thank you for the code and congratulations for the acceptance. I am trying to run your demo code. However, I have issues when building postprocess.cpp. Here is the log infos:
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:18:48: error: wrong number of template arguments (4, should be 5)
AnnoyIndex<int, double, Euclidean, Kiss32Random> pc_knn = AnnoyIndex<int, double, Euclidean, Kiss32Random>(3);
^
In file included from /home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:3:0:
/home/alban/Documents/Point2Mesh/postprocess/../annoy/src/annoylib.h:841:9: note: provided for ‘template<class S, class T, class Distance, class Random, class ThreadedBuildPolicy> class AnnoyIndex’
class AnnoyIndex : public AnnoyIndexInterface<S, T> {
^~~~~~~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:18:106: error: wrong number of template arguments (4, should be 5)
AnnoyIndex<int, double, Euclidean, Kiss32Random> pc_knn = AnnoyIndex<int, double, Euclidean, Kiss32Random>(3);
^
In file included from /home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:3:0:
/home/alban/Documents/Point2Mesh/postprocess/../annoy/src/annoylib.h:841:9: note: provided for ‘template<class S, class T, class Distance, class Random, class ThreadedBuildPolicy> class AnnoyIndex’
class AnnoyIndex : public AnnoyIndexInterface<S, T> {
^~~~~~~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp: In function ‘int main(int, char**)’:
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:205:12: error: request for member ‘add_item’ in ‘pc_knn’, which is of non-class type ‘int’
pc_knn.add_item(i, vec);
^~~~~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:207:10: error: request for member ‘build’ in ‘pc_knn’, which is of non-class type ‘int’
pc_knn.build(10);
^~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:211:12: error: request for member ‘get_nns_by_item’ in ‘pc_knn’, which is of non-class type ‘int’
pc_knn.get_nns_by_item(i, K + 1, -1, &knn_id[i], &knn_dis[i]);
^~~~~~~~~~~~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:199:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(input_file.c_str(), "r", stdin);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:200:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n_pc);
~~~~~^~~~~~~~~~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:203:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lf%lf%lf", &vec[0], &vec[1], &vec[2]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:227:8: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n_candidates);
~~~~~^~~~~~~~~~~~~~~~~~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:230:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &a, &b, &c, &label);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/alban/Documents/Point2Mesh/postprocess/postprocess.cpp:278:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(output_file.c_str(), "w", stdout);
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CMakeFiles/postprocess.dir/build.make:62: recipe for target 'CMakeFiles/postprocess.dir/postprocess.cpp.o' failed
make[2]: *** [CMakeFiles/postprocess.dir/postprocess.cpp.o] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/postprocess.dir/all' failed
make[1]: *** [CMakeFiles/postprocess.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Any idea what might be causing this?
Thanks!
Was the code for calculating Chamfer Distance and normal consistency score provided?
Thanks!
pickle.load ran out of input during training. Did I do something wrong?
Thank you for your outstanding work in the field of surface reconstruction ,But I want to know why this network changes the coordinates of the points.
hi could you provide the evaluation code that you used in the paper ?
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.