dlib
dlib copied to clipboard
[Bug]: Bus error: 10
What Operating System(s) are you seeing this problem on?
macOS (Apple Silicon)
dlib version
19.24.6
Python version
3.10.13
Compiler
pip install dlib
Expected Behavior
The following code can execute normally
shape = dlib.shape_predictor(path_of_lm)
t = list(shape.parts())
Current Behavior
The following error occurred Bus error: 10
Steps to Reproduce
nothing
Anything else?
The code needs to be modified as follows in order to execute normally. Skipped the last part。Additionally, I am using MacBook Pro M3,macos 14.5 (23F79)
shape = dlib.shape_predictor(path_of_lm)
t = []
parts = shape.parts()
for i, part in enumerate(parts):
if i == len(parts) - 1:
break
t.append(part)