Multi_scale parameter Yolov8

I have a question: how does the multi_scale parameter work? I’m currently working with Yolov8n and i need to make the model “scale invariant” for a particular task of object detection (similar to QR detection where sometimes QR are really big, and sometimes really small)

Reading the documentation, I’ve seen that there is a “multi_scale” parameter which is a float, BUT, if I put a float value, it says “Boolean required”.

So, if i put “multi_scale = True” how does the mutliscale work? what it really does?

multi_scale changes the image size. It is different from scale that zooms in and out the image. You should use scale.It’s enabled by default.

It used to be boolean value. Now it’s float. You’re likely not using the latest Ultralytics package, hence the error.