ch-sa/labelCloud

show_2d_image = True,

yangninghua opened this issue · 1 comments

Traceback (most recent call last):
  File "~/labelCloud-master/labelCloud/view/gui.py", line 310, in <lambda>
    self.button_2D.pressed.connect(lambda: self.show_2d_image())
  File "~/labelCloud-master/labelCloud/view/gui.py", line 441, in show_2d_image
    image_name = next(filter(image_file_pattern.search, files_in_image_folder))
TypeError: expected string or bytes-like object
[FILE]
; source of point clouds
pointcloud_folder = dataset_sampling/
; sink for label files
label_folder = dataset_labels/
;2d image folder
image_folder = dataset_images/

dataset_images/BJ2-01-2-137-04-01-009-046-1-001-D.png
dataset_sampling/BJ2-01-2-137-04-01-009-046-1-001-D.ply

ch-sa commented

Hello @yangninghua,

thanks for reporting. This was a bug due to pathlib refactoring (it's not possible to regex with pathlib.Path objects).

Fixing on master now and releasing ASAP.