Floating point error when running mask_rcnn example code from learnopencv C++

please explain what is “the Ubuntu 18.04 installation script”

you likely followed instructions that are outdated or flawed.

further, use a debugger to determine where in your code this issue happens.