I have the same problem.
As a temporary solution i set a label 0 for background and the bbox is the size of my image when i have no object to detect… But i think that’s not a good solution. (An empty bbox or bbox = [0,0,0,0] return an error)
I also need images with no target because that represents a major part of my dataset.