charlesq34 / frustum-pointnets

Frustum PointNets for 3D Object Detection from RGB-D Data
Apache License 2.0
1.59k stars 538 forks source link

Pre-trained weights of SUNRGBD dataset #69

Open gangooteli opened 5 years ago

gangooteli commented 5 years ago

Could anyone provide pretrained weights of SUNRGBD dataset?

ybyangjing commented 5 years ago

hello,gangooteli, have you ever solved this problem.

gangooteli commented 5 years ago

Currently not. Need to train on SUNRGBD dataset.

ybyangjing commented 5 years ago

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?

gangooteli commented 5 years ago

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

ybyangjing commented 5 years ago

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

ybyangjing commented 5 years ago

@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 commented 5 years ago

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

ybyangjing commented 5 years ago

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

gangooteli commented 5 years ago

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

ybyangjing commented 5 years ago

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

PranjalBiswas commented 5 years ago

@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

ybyangjing commented 5 years ago

@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 commented 5 years ago

2222

PranjalBiswas commented 5 years ago

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.

ybyangjing commented 5 years ago

@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:yang_jing0903@163.com or yang.jing@okstate.edu

shengrongjin commented 5 years ago

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

shengrongjin commented 5 years ago

@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 commented 5 years ago

This is my SUNRGBD situation! 1550652846 1

ybyangjing commented 5 years ago

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

TheWintersKing commented 5 years ago

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

shengrongjin commented 5 years ago

@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.

debuleilei commented 5 years ago

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

shengrongjin commented 5 years ago

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

debuleilei commented 5 years ago

@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

luben2018 commented 4 years ago

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

Wujielong commented 4 years ago

@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.

mojoee commented 4 years ago

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

Sherlock-hh commented 3 years ago

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

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