Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mpelchat04 committed Nov 2, 2021
1 parent 6180168 commit 6645d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airborne_lidar/airborne_lidar_seg.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ def main():
iou_csv.write(('filename', 'overall_iou', 'per_class_iou'))
for filename in files:
xyzni, label, nb_pts, header = read_las_format(filename)
prep_filename = Path(f"{filename.parents / filename.stem}_prepared.hdfs")
prep_filename = Path(f"{filename.parents / Path(filename.stem)}_prepared.hdfs")
write_features(prep_filename, xyzni=xyzni, labels=label)
iou = test(args, prep_filename.stem, model_folder, prep_filename.parents, info_class, files.index(filename), header=header)
line = (filename.stem, f"{iou[0]:.3f}")
Expand Down

0 comments on commit 6645d65

Please sign in to comment.