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

There are something wrong with me when I test on the NYUv2 dataset. #5

Open
myhooo opened this issue Oct 31, 2018 · 3 comments
Open

Comments

@myhooo
Copy link

myhooo commented Oct 31, 2018

Hi, thanks for your share!

I am testing your code on the NYUv2 dataset. ^ _ ^

I have used your code in folder named 'preproess_data/superpixel/' and have made the image like this
image
Then transform the image to bin using your code.

I make the semantic segmentation using the FCN, in which there is model on the dataset.
The segmentation image like this
image
Then translate the image into bin using the code:
net.blobs['prob'].data[0].transpose([1,2,0]).flatten().tofile('/home/x/bin/nyu'+ str(i) + '.bin')

And I get the pose through the ORB-SLAM2

Then I run the mapping_3d, there isn't any warning and error.
image

However, the result seems to be wrong. -_-
The image produced in the folder named 'crf_3d_reproj' seems to be wrong, like this
image

As a result, the semantic 3d mapping looks bad and like this
image

Could you please help me and tell me what the possible reasons are ?

Thanks!

@shichaoy
Copy link
Owner

shichaoy commented Nov 1, 2018

Hi, thanks for testing. I cannot root the problem right now. There might be some parameters tuned for outdoor KITTI, which may not be suitable for small scale indoors. For example, grid resolution, size, CRF position kernel std, weight. Before tuning params, make sure to give correct calibration and image size in the main file. Then do experiments step by step. First verify whether geometric 3D mapping is good or not. Then without CRF optimization (only label back-projection). Then with CRF, but no hierarchical. Finally with hierarchical. I look through the code and seems to find a bug in the main file: I set curr_transToWolrd(2,3)=1.0 when saving image. Can you also try commenting it.

@shichaoy
Copy link
Owner

shichaoy commented Nov 6, 2018

just let me know if you run more small tests as I said. at that time, I may have more clues what's wrong.

@mengqiguo
Copy link

I had a similar problem to yours, did you find a solution?

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