Comments (2)
exactly, it appeared after i installed cnpy, before i installed cnpy, the error is :
/home/tandem/tandem-master/tandem/libdr/cuda_coarse_tracker/src/cuda_coarse_tracker.cpp:9:10: fatal error: cnpy.h: No such file or directory
9 | #include "cnpy.h"
| ^~~~~~~~
compilation terminated.
I don't know if this is related to my direct execution of the following order
sudo apt install libsuitesparse-dev libeigen3-dev libboost-all-dev
from tandem.
Exatly, The save function doesn't work, leave them out is OK ,then errors will disappear. The reason for this error is cnpy:: npy in the cnpy library I installed_ The save function and the author use cnpy:: npy_ The parameters of the name function are different, which may be caused by the version
template<typename T> void npz_save(std::string zipname, std::string fname, const T* data, const unsigned int* shape, const unsigned int ndims, std::string mode = "w", std::string order = "C")
bool save = false;
// if (save) {
// float nfxfyaffLLb[6] = {(float) n, fx, fy, affLL.x, affLL.y, (float) ref_aff_g2l.y()};
// cnpy::npy_save("cct_data/nfxfyaffLLb.npy", nfxfyaffLLb, {6}, 1);
// float *buf = (float *) malloc(sizeof(float) * n);
// cudaMemcpy(buf, pc_color, sizeof(float) * n, cudaMemcpyDeviceToHost);
// cnpy::npy_save("cct_data/pc_color.npy", buf, {(unsigned long) n}, 1);
// cudaMemcpy(buf, warped_u, sizeof(float) * n, cudaMemcpyDeviceToHost);
// cnpy::npy_save("cct_data/warped_u.npy", buf, {(unsigned long) n}, 1);
// cudaMemcpy(buf, warped_v, sizeof(float) * n, cudaMemcpyDeviceToHost);
// cnpy::npy_save("cct_data/warped_v.npy", buf, {(unsigned long) n}, 1);
// cudaMemcpy(buf, warped_dx, sizeof(float) * n, cudaMemcpyDeviceToHost);
// cnpy::npy_save("cct_data/warped_dx.npy", buf, {(unsigned long) n}), 1;
// cudaMemcpy(buf, warped_dy, sizeof(float) * n, cudaMemcpyDeviceToHost);
// cnpy::npy_save("cct_data/warped_dy.npy", buf, {(unsigned long) n}, 1);
// cudaMemcpy(buf, warped_idepth, sizeof(float) * n, cudaMemcpyDeviceToHost);
// cnpy::npy_save("cct_data/warped_idepth.npy", buf, {(unsigned long) n}, 1);
// cudaMemcpy(buf, warped_residual, sizeof(float) * n, cudaMemcpyDeviceToHost);
// cnpy::npy_save("cct_data/warped_residual.npy", buf, {(unsigned long) n}, 1);
// cudaMemcpy(buf, warped_weight, sizeof(float) * n, cudaMemcpyDeviceToHost);
// cnpy::npy_save("cct_data/warped_weight.npy", buf, {(unsigned long) n}, 1);
// if (n > 0.5 * 640 * 480)
// exit(EXIT_SUCCESS);
// }
from tandem.
Related Issues (20)
- RuntimeError: Freezing is currently only implemented for modules for modules in eval mode
- Why there are differences between EuRoC dataset and EuRoC_Tandem_format's camera intrinsic?
- About TSDF Fusion
- Segmentation fault HOT 1
- Saving sparse reconstruction
- cmake error HOT 20
- Install Sophus from thirdparty folder,but compile error HOT 2
- got error when i make the project,the error log as follows HOT 1
- segment fault(core dumped) without any error HOT 1
- How to convert ICL-NUIM to tandem format? HOT 2
- can't find some function in glew when compile tandem_dataset
- Convention of the Coordiante System / Representation of Poses HOT 2
- Illegal instruction (core dumped)
- make error "undefined reference to symbol 'pthread_condattr_setclock@@GLIBC_2.3.3'"
- How to generate scale.txt and tuples_dso_optimization_windows.txt files for custom data? HOT 7
- How do I properly modify the fusion options given scenes with dramatically different depth?
- How to handle scale?
- /home/nuc/Documents/SLAM/DenseReconstruct/tandem-master/tandem/src/OptimizationBackend/EnergyFunctional.cpp:315: void dso::EnergyFunctional::resubstituteFPt(const VecCf&, dso::Mat18f*, int, int, dso::Vec10*, int): Assertion `std::isfinite(p->data->step)' failed. HOT 1
- error when running tracking_euroc.sh
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 tandem.