-
Notifications
You must be signed in to change notification settings - Fork 89
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
Understanding data balancing #33
Comments
So after checking the code I'm quite sure that there is a missunderstanding on my side. At least the number of voxels that are randomly sampled from the empty occluded space (blue area without voxels occupied by objects) is far lower than 2*N where N is the number of occupied voxels). I'll come back if I found out how exactly the sampling works... |
|
So the number of points sampled from empty occluded space varies and is not 2N (which is also not possible since often there aren't 2N empty occluded voxels. Rather the sampling goes over all pixels with TSDF value < -0.5 including occupied voxels and voxels outside the room. Voxels with gt label == 255 are then dismissed. |
Hi, @mgarbade I have the same questions as you are before. From my understanding of the code for data balancing from the code of For occluded data with object classes [1:11] for training (which meets For empty data for training, they only pick the empty voxel from the occluded voxels. You can get this by finding the way how the calculate the variable When you check the evaluation code, you could find that they only evaluate the performance of the occluded areas. |
And from their code, the number of empty voxels for training is definitely not 2*N, in fact, the number will be < N or = N |
In your paper you state:
"For each training volume containing N occupied voxels,
Voxels in
are ignored."
I assume all that is done in this function. However I'm not sure if I do understand it correclty.
Now my question: How exactly do you sample the data?
What do you mean with "2N empty voxels from occluded regions"?
Given this image from your paper

It would mean that you are sampling empty voxels from the blue ("occluded") area only. The red area ("observed surface") is completely ignored.
Is that correct?
The text was updated successfully, but these errors were encountered: