IGNF / myria3d

Myria3D: Aerial Lidar HD Semantic Segmentation with Deep Learning
https://ignf.github.io/myria3d/
BSD 3-Clause "New" or "Revised" License
172 stars 23 forks source link

Fix edgecase with 1 input value that is not selected in subsample_data #114

Closed leavauchier closed 6 months ago

leavauchier commented 6 months ago

In the preprocessing steps when subsampling data, there was a buggy edge case when there was only one point in the batch that had to be removed. Up to now, the point was not removed (side effect of trying to force the output to be a Tensor when only one value was kept)

@MichelDaab or @gliegard can you have a look as @CharlesGaydon is not available? Thanks

CharlesGaydon commented 6 months ago

20240313_143719.jpg

Low quality schematics for posterity 😬😅