-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pcl::PLYWriter::writeASCII] Input point cloud has no data! #87
Comments
Are you running this inside docker container? |
Yes I am running inside the docker container. I have downloaded XMem-s012.pth, outdoor_ds.ckpt, HO3D data , YCB-Video object models, the milk example, put them under the path you mentioned and update my root path of HO3D_ROOT. Then I went into the docker and ran $bash build.sh. After that I ran And I got the error as mentioned on the title. Are there any steps I missed? |
from the error it looks like the depth loading has issue. I'd suggest increase |
I ran with debug_level 4, but I didn't find ply file, there were only config_bundletrack.yml, config_nerf.yml and an empty frame folder. message output like this: |
can you add some printings inside this function to locate where the abort occurs? BundleSDF/BundleTrack/src/Bundler.cpp Line 76 in 878cee2
|
And dont forget to recompile the cpp program after modification |
I turned gui off trying to make logs easier to read and I found problem may occur in my_cpp package. Then process hanged in process_new_frame() -> frame.setNewInitCoordinate() LOGS: Thanks for your help in advance :) |
Yes I have known it's happening from my_cpp package. That's why I suggested to add more printings there. |
Hanging at Frame::setNewInitCoordinate() where pts is None |
what is the value of |
Thanks! it worked out in the end.
Thanks |
In my case, it works for the Have you tried on the NOCS dataset? I made a small example for the NOCS275 dataset (https://drive.google.com/file/d/1mjg0QKGWDsbPVa4tNTseeN55OZmNaDZw/view?usp=sharing). I also tested on the Wild6D dataset (https://drive.google.com/file/d/1d6E30n7o6NxAruu3Pq90Av77VUaNzFOE/view?usp=sharing), and it works for me. |
@taeyeopl was it also because of running out of memory? Can you try the same as #87 (comment) ? |
I'm unsure if my below code is the right position and way to check the results. I got these results. BundleSDF/BundleTrack/src/Frame.cpp Lines 165 to 166 in b06fbd4
|
looks like none of the point satisfy the condition at BundleSDF/BundleTrack/src/Frame.cpp Line 156 in b06fbd4
Can you confirm the mask and depth files are correctly loaded? @taeyeopl @nixonhuang for mask folder, you can obtain the masks from tools such as SAM, XMem |
Thanks for your help, @wenbowen123. |
I am currently investigating the same issue. I get it, when I try to run BundleSDF on my own dataset: https://cloud.thws.de/s/4LBfL58PTZwKRYE |
I'm also having the same issue. I've printed out statements on the python side inside data_reader.py and bundlesdf.py that confirm the depth image and mask values are not all 0. However, when adding cout statements to the C++ side to check the value I get every pt.z is 0, and every _fg_mask is empty. |
@taeyeopl @tomole444 @cnalty |
Yes. I discovered the issue in the mean time. My objects z-Coordinate was greater than 1 meter and I didn't change the default config, so all object points were farther away than the z-far config-parameter. |
Confirmed changing z-far fixes the issue |
@cnalty @tomole444 could you please tell how you changed the "z-far" for custom data? |
You can change it at the top of the run_custom.py file |
@tomole444 thanks a lot I found it could you please let me know to what value you change it based on your custom data and how? my min and max values across all depth images are: |
The table is approximately 1.2 m away from the camera and I know that my object is always above the table. So I set zfar to 1.3. |
It's interesting my object was about 10-20 cm away from camera, I set it to 0.1 and 0.2 but still keep getting the same error. |
@wenbowen123 Hi, I’ve encountered the same error and created a detailed issue here: #182. If you have a moment, I’d greatly appreciate your help or any guidance you can provide. |
Hi I'm new to the scripts. When I ran joint tracking and reconstruction with the example of milk data, I found the error :
[pcl::PLYWriter::writeASCII] Input point cloud has no data!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::PLYWriter::writeASCII] Input point cloud has no data!
Segmentation fault (core dumped)
The same error also happened when I ran with HO3D dataset:
[bundlesdf.py] processNewFrame start 0000
[bundlesdf.py] process frame 0000
[pcl::PLYWriter::writeASCII] Input point cloud has no data!
[pcl::KdTreeFLANN::setInputCloud] Cannot create a KDTree with an empty input cloud!
[pcl::PLYWriter::writeASCII] Input point cloud has no data!
Segmentation fault (core dumped)
It seems that I didn't successfully create the cloud_init.ply neither cloud_for_init_coord.ply. Does anyone know how to fix it?
Thanks in advance.
The text was updated successfully, but these errors were encountered: