Skip to content

Commit

Permalink
Merge pull request #87 from IGNF/65-remove-copc
Browse files Browse the repository at this point in the history
chore: Remove COPC datasets and dataloaders since they were abandonned
  • Loading branch information
CharlesGaydon authored Oct 12, 2023
2 parents 2daf8b9 + e706a9b commit 49dee4f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 306 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# main
# CHANGELOG

### 3.4.12
- Remove COPC datasets and dataloaders since they were abandonned and never used.

### 3.4.11
- Unification of max length of lines (99) by applying black everywhere.
Expand Down
12 changes: 0 additions & 12 deletions myria3d/pctl/datamodule/copc.py

This file was deleted.

275 changes: 0 additions & 275 deletions myria3d/pctl/dataset/copc.py

This file was deleted.

18 changes: 0 additions & 18 deletions myria3d/pctl/dataset/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
import pandas as pd
import pdal
from scipy.spatial import cKDTree
from shapely.geometry import Point

SPLIT_TYPE = Union[Literal["train"], Literal["val"], Literal["test"]]
SHAPE_TYPE = Union[Literal["disk"], Literal["square"]]
Expand Down Expand Up @@ -145,23 +144,6 @@ def pre_filter_below_n_points(data, min_num_nodes=1):
return data.pos.shape[0] < min_num_nodes


# COPC


def get_random_center_in_tile(tile_width, subtile_width):
return np.random.randint(
subtile_width / 4,
tile_width - (subtile_width / 4) + 1,
size=(2,),
)


def make_circle_wkt(center, subtile_width):
half = subtile_width / 2
wkt = Point(center).buffer(half).wkt
return wkt


def get_las_paths_by_split_dict(
data_dir: str, split_csv_path: str
) -> LAS_PATHS_BY_SPLIT_DICT_TYPE:
Expand Down

0 comments on commit 49dee4f

Please sign in to comment.