frustum-pointnets icon indicating copy to clipboard operation
frustum-pointnets copied to clipboard

Pre-trained weights of SUNRGBD dataset

Open gangooteli opened this issue 6 years ago • 28 comments

Could anyone provide pretrained weights of SUNRGBD dataset?

gangooteli avatar Dec 04 '18 14:12 gangooteli

hello,gangooteli, have you ever solved this problem.

ybyangjing avatar Jan 07 '19 16:01 ybyangjing

Currently not. Need to train on SUNRGBD dataset.

gangooteli avatar Jan 08 '19 06:01 gangooteli

I execute extract_rgbd_data.m under sunrgbd toolbox,which will generate four empty folders,include mysunrgbd/depth,mysunrgbd/image,mysunrgbd/calib,mysunrgbd/label_dimension.Could you help me?

ybyangjing avatar Jan 08 '19 16:01 ybyangjing

Download SUNRGBD dataset In extract_rgdb_data.m, you need to provide SUNRGBD dataset path. Then run it. It will create 4 folders with files in it. You path might not be correct thats why you are getting empty folder.

Then you need to run script sunrgbd_data.py provided in sunrgbd folder, which will use these 4 folders and create a pickle file. Then this generated pickle file can be used for training purpose

gangooteli avatar Jan 08 '19 16:01 gangooteli

sunrgbd_dataset_path This is my SUNRGBD dataset path.Where is your original sunrgbd data path?thank you.

ybyangjing avatar Jan 08 '19 16:01 ybyangjing

@gangooteli Hi,I have a question.I didn't find Metadata/SUNRGBDMeta.mat from frustum-pointnets. Thanks.If I trained succeed in SUNRGBD dataset, I will share my pre-trained weights to you.

ybyangjing avatar Jan 08 '19 22:01 ybyangjing

screenshot from 2019-01-08 20-06-00 This is my SUNRGBDMeta.mat load data.I hope to get your help.@gangooteli

ybyangjing avatar Jan 09 '19 02:01 ybyangjing

Hi,@gangooteli Thank at all.I use extract_rgdb_data.m to generate 4 folders and it not empty.

but when I was trying to generate the pickle files to train SUNRGBD. I run sunrgbd_data/sunrgbd_data.py and given an error. I have no train_data_idx.txt files.Could you guide me what need to be done to get the pickle files. Thanks a lot in advance. Regards, Jing Yang

ybyangjing avatar Jan 09 '19 22:01 ybyangjing

You need to create train_data_idx.txt which will contain list of filename generated in the mysunrgbd/depth.

gangooteli avatar Jan 10 '19 11:01 gangooteli

Hi,@gangooteli,Thank you very much.I created train_data_idx.txt .To generate the pickle file, I run sunrgbd_data/sunrgbd_data.py. As shown in the following picture, sunrgbd_data.py can extract information from the SUNRGBD data set. default However, I encountered this problem while running sunrgbd_data.py, and I don't know what caused it. screenshot from 2019-01-11 11-14-16 this is my train_data_idx.txt file format. screenshot from 2019-01-11 17-19-15

ybyangjing avatar Jan 11 '19 23:01 ybyangjing

@ybyangjing

From the error i can say that value of "all_cnt" is evaluated to 0 which gives you the error on division. As far as I remember I also encountered the same error, and if I can remember correctly I just commented that line, as it is essentially of no use. Although its been long I had worked with FPN, so just debug the code once to identify and confirm the issue. Success!!!

Kind Regards Pranjal Biswas

PranjalBiswas avatar Jan 11 '19 23:01 PranjalBiswas

@gangooteli @PranjaLBiswas27 Thanks at all.I commented the pos_cnt/float(all_cnt).The sunrgbd_data.py program can be run successfully, but the pickle file file generated is very small. I don't know reason.Can you share your pickle file or guide me? Thank you. 11111 Uploading 2222.jpg…

ybyangjing avatar Jan 13 '19 03:01 ybyangjing

2222

ybyangjing avatar Jan 13 '19 03:01 ybyangjing

I dont have the pickle files you need, as I did not work with the SUNRGBD dataset.

I cant point out the exact reason, but from initial look I see that none of the other parameters of frustum such as heading, orientation, points etc are being evaluated at all. You can see that only frustum angle is evaluated, so something is going wrong there. I would suggest you to debug the code and look for issues at that point.

PranjalBiswas avatar Jan 13 '19 07:01 PranjalBiswas

@gangooteli @PranjaLBiswas27 Thank you help.I have pretrained weights of SUNRGBD dataset, but I don't know how to visualize the results shown below. point cloud 3d detections-paper This is my Email. We can use the Email number to communicate.Email:[email protected] or [email protected]

ybyangjing avatar Feb 11 '19 22:02 ybyangjing

@ybyangjing 你好,我也在用这个网络跑Sunrgbd数据集,遇到了和你一样的问题,看了你的解决过程,真的很惊喜。可以加你qq 一起交流下吗?我的qq: 934857682 多谢了!

shengrongjin avatar Feb 19 '19 08:02 shengrongjin

@ybyangjing @PranjaLBiswas27 I have the same problem that when I execute extract_rgbd_data.m four empty folders were created. I tried to check the path of SUNRGBD according to your description. But it still doesn't solve the problem. Can you help me ? Thank you very much! 1550652891 1 1550652948 1 1550653007 1

shengrongjin avatar Feb 20 '19 12:02 shengrongjin

This is my SUNRGBD situation! 1550652846 1

shengrongjin avatar Feb 20 '19 12:02 shengrongjin

@shengrongjin Maybe your path needs to be checked.'/data/shengData/mysunrgbd/SUNRGBD'

ybyangjing avatar Feb 20 '19 19:02 ybyangjing

@shengrongjin Is your problem solved? I was having a similar problem. try this, instead of '/data/shengData/mysunrgbd/SUNRGBD' give '/data/shengData/mysunrgbd'

TheWintersKing avatar May 03 '19 14:05 TheWintersKing

@shengrongjin Is your problem solved? I was having a similar problem. try this, instead of '/data/shengData/mysunrgbd/SUNRGBD' give '/data/shengData/mysunrgbd'

Thank you for your reply. I have solved this problem.

shengrongjin avatar May 10 '19 01:05 shengrongjin

hello, @TheWintersKing @shengrongjin I try to use the matlab to run the extract_rgbd_data.m,but I falied with the matlab Segmentation fault (core dumped),the matlab current folder is SUNRGBDtoolbox/,follow with two pictures. Screenshot from 2019-05-15 16-29-48 Screenshot from 2019-05-15 16-34-33

debuleilei avatar May 15 '19 08:05 debuleilei

@debuleilei May be some small problems according by Matlab, follow the instructions to close and restart.

shengrongjin avatar May 15 '19 08:05 shengrongjin

@shengrongjin but I have tried it in another computer which is in windows system,same problem ,and I wait for a long time before it crash.I use the matlab R2016b ,can you give me some advice about what you did

debuleilei avatar May 17 '19 09:05 debuleilei

hello, @TheWintersKing @shengrongjin I try to use the matlab to run the extract_rgbd_data.m,but I falied with the matlab Segmentation fault (core dumped),the matlab current folder is SUNRGBDtoolbox/,follow with two pictures. Screenshot from 2019-05-15 16-29-48 Screenshot from 2019-05-15 16-34-33

check parfor, this may be the problem

luben2018 avatar Nov 26 '19 02:11 luben2018

@ybyangjing hi! i have the same problem. my pickle file file generated is very small, about 63 bites. I don't know reason.Can you share your pickle file or guide me? Thank you.

Wujielong avatar Dec 01 '19 09:12 Wujielong

replacing the parfor with a simple for loop solved the problem of crashing, but the script execution time was really slow

mojoee avatar Feb 26 '20 10:02 mojoee

@ybyangjing 你好,我也在用这个网络跑Sunrgbd数据集,遇到了和你一样的问题,看了你的解决过程,真的很惊喜。可以加你qq 一起交流下吗?我的qq: 934857682 多谢了!

你好,我现在也在用这个代码进行点云的检测,请问你现在成功运行好了sunrgbd的代码吗,我能问一下你的2d检测是怎么加进去的呢?您有没有测试过自己的点云数据放进去进行检测

Sherlock-hh avatar Oct 22 '20 10:10 Sherlock-hh