Hi @aseris, welcome to the forums!
Do you get any error at all?
I tried running your code, and I had to fix a typo at the line: (lables → labels)
labelL = lables.tolist()
Also, did you try our GitHub sample for custom Object Detection?
It’s a complete, working implementation that you can reference from: