Skip to content
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

How do I run this network with my own data? #4

Open
mostafa501 opened this issue Nov 8, 2023 · 2 comments
Open

How do I run this network with my own data? #4

mostafa501 opened this issue Nov 8, 2023 · 2 comments

Comments

@mostafa501
Copy link

Dear all, thank you for publishing this work.
I am curious how to use this network on my own data. For example, say I have a PCD for chairs, I do not have the ground truth for this. I just want to run inference script to give me a list of detected objects.
How would be the best way to progress using your network? Any help on this would be very much appreciated.
Thank you for the contribution !!

@LIUXIN4558
Copy link

May I ask if you have successfully reproduced this code? I am currently experiencing this issue when reproducing it using the runrgbd dataset:
**2024-07-25 16:03:37,464 INFO Loading SUNRGBD dataset
Traceback (most recent call last):
File "train.py", line 204, in
main()
File "train.py", line 105, in main
train_set, train_loader, train_sampler = build_dataloader(
File "/home/ipsg2/code/lx2/RBGNet/tools/../pcdet/datasets/init.py", line 54, in build_dataloader
dataset = all[dataset_cfg.DATASET](
File "/home/ipsg2/code/lx2/RBGNet/tools/../pcdet/datasets/sunrgbd/sunrgbd_dataset.py", line 29, in init
self.include_sunrgbd_data(self.mode)
File "/home/ipsg2/code/lx2/RBGNet/tools/../pcdet/datasets/sunrgbd/sunrgbd_dataset.py", line 51, in include_sunrgbd_data
sample_id_list.extend([info['point_cloud']['lidar_idx'] for info in infos])
File "/home/ipsg2/code/lx2/RBGNet/tools/../pcdet/datasets/sunrgbd/sunrgbd_dataset.py", line 51, in
sample_id_list.extend([info['point_cloud']['lidar_idx'] for info in infos])
TypeError: string indices must be integers
**

I have checked the. pkl file and it does not contain 'point_cloud' and 'lidar idx'
May I ask if you have encountered such a problem?

@Haiyang-W
Copy link
Owner

Sorry for the late reply. Please refer to here for generating your own dataset. Note that the coordinate system adopted in MMdetection3D(0.15) is very different from MMdetection3D(>=1.0).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants