Skip to content

Commit

Permalink
fix: prepare_data_per_node is a flag and was incorrectly used as a re…
Browse files Browse the repository at this point in the history
…placement for prepare_data
  • Loading branch information
CharlesGaydon committed Apr 18, 2024
1 parent 8c01bdf commit d52810e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# CHANGELOG
### 3.8.3
- fix: prepare_data_per_node is a flag and was incorrectly used as a replacement for prepare_data.

### 3.8.2
- fix: points not dropped case in subsampling when the subtile contains only one point
- fix: type error in edge case when dropping points in DropPointsByClass (when there is only one remaining point)
Expand Down
2 changes: 1 addition & 1 deletion myria3d/pctl/datamodule/hdf5.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def eval_transform(self) -> CustomCompose:
def predict_transform(self) -> CustomCompose:
return CustomCompose(self.preparation_predict_transform + self.normalization_transform)

def prepare_data_per_node(self, stage: Optional[str] = None):
def prepare_data(self, stage: Optional[str] = None):
"""Prepare dataset containing train, val, test data."""

if stage in ["fit", "test"] or stage is None:
Expand Down
2 changes: 1 addition & 1 deletion package_metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__: "3.8.2"
__version__: "3.8.3"
__name__: "myria3d"
__url__: "https://github.com/IGNF/myria3d"
__description__: "Deep Learning for the Semantic Segmentation of Aerial Lidar Point Clouds"
Expand Down

0 comments on commit d52810e

Please sign in to comment.