NVIDIA Optical Flow is not working on with error NvOFCudaAPI : m_ofAPI->nvCreateOpticalFlowCuda(m_cuContext, &m_hOF)returned error 2

My gpu is GeForce GTX 1650 with Max-Q Design. I think this error is related to the GPU, but as far as I understood, my gpu should be able to support the NvOF. So, what might be the problem?

Hi, the issue seems to be your nvidia driver version(455.45.01). I had the same error which went away when I updated my drivers from 450 to 470.