Skip to content

Commit

Permalink
Update preparation step
Browse files Browse the repository at this point in the history
  • Loading branch information
mpelchat04 committed Aug 19, 2020
1 parent 0eafeff commit fc7aac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/airborne_lidar/prepare_airborne_lidar_label.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def main():
path_prepare_label = Path(args.dest, dst)
path_prepare_label.mkdir(exist_ok=True)

xyzni, label, nb_pts = read_las_format(base_dir / elem)
xyzni, label, nb_pts = read_las_format(base_dir / f"{elem}.las")

write_features(f"{path_prepare_label / elem.split('.')[0]}_prepared.hdfs", xyzni=xyzni, labels=label)
print(f"File {dst}/{elem} prepared. {nb_pts:,} points written.")
Expand Down

0 comments on commit fc7aac4

Please sign in to comment.