Yang7879/3D-BoNet

The results of S3DIS

Opened this issue · 2 comments

After testing, I got some .mat files. And there are many blocks in them. But I don't know how to deal with them to get the visualization of them. How should I put them together?

Hi, Yang7879, I have the same confusion as fxy2012, after I run the main_train.py code or the main_eval.py code, it will create "eval scene Area_5_WC_1.h5.mat" in my log file, but I don't konw what's the .h5.mat files?Or how to deal with it?
Could you please explain the .h5.mat files. Thanks.

Hi @fxy2012 and @zhaoyu19920930 , the '.mat' file includes all the predicted semantic and instance results together with ground truth for each scene (room). Refer this line below to check how the data are organized within '.mat' file.

scipy.io.savemat(result_path + 'res_by_scene/' + scene_name + '.mat', scene_result, do_compression=True)

To visualize the results, simply uncomment the lines below:

#### if you need to visulize, please uncomment the follow lines

Basically, for each scene(room), the results are predicted per block and stored in '.mat' file. Before the final evaluation, those blocks are merged together and then the entire room is available for visualization.

Btw, the '.h5.mat' file is a '.mat' file, nothing to do with '.h5' format, it's just the file name.