ch-sa / labelCloud

A lightweight tool for labeling 3D bounding boxes in point clouds.

Home Page:https://ch-sa.github.io/labelCloud/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

show_2d_image = True,

yangninghua opened this issue · 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

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.