Opencv 4.6.0 with cuda support were successfully built for both python2.7 and python3.8, but cuda unavailable

Hi,

Do you run the test within a container?
If yes, please add --system-site-packages to access the host package.

Or you can check our container below which has both OpenCV and PyTorch installed.

Thanks.