diff --git a/CHANGELOG.md b/CHANGELOG.md index 0507c492..dfedc482 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # CHANGELOG +### 3.7.1 +- fix: edge case when saving predictions under Classification channel, without saving entropy. + ## 3.7.0 - Update all versions of Pytorch, Pytorch Lightning, and Pytorch Geometric. Changes are retrocompatible for models trained with older versions (with adjustment to the configuration file). diff --git a/myria3d/models/interpolation.py b/myria3d/models/interpolation.py index 33dc801f..dbefbc55 100644 --- a/myria3d/models/interpolation.py +++ b/myria3d/models/interpolation.py @@ -65,7 +65,7 @@ def load_full_las_for_update(self, src_las: str, epsg: str) -> np.ndarray: # We do not reset the dims we create channel. # Slight risk of interaction with previous values, but it is expected that all non-artefacts values are updated. - pipeline = get_pdal_reader(src_las, epsg) + pipeline = pdal.Pipeline() | get_pdal_reader(src_las, epsg) for proba_channel_to_create in self.probas_to_save: pipeline |= pdal.Filter.ferry(dimensions=f"=>{proba_channel_to_create}") pipeline |= pdal.Filter.assign(value=f"{proba_channel_to_create}=0") diff --git a/package_metadata.yaml b/package_metadata.yaml index a861d216..e4938cd6 100644 --- a/package_metadata.yaml +++ b/package_metadata.yaml @@ -1,4 +1,4 @@ -__version__: "3.7.0" +__version__: "3.7.1" __name__: "myria3d" __url__: "https://github.com/IGNF/myria3d" __description__: "Deep Learning for the Semantic Segmentation of Aerial Lidar Point Clouds"