Error while running EDSR model: CUDNN_STATUS_NOT_INITIALIZED in function 'UniqueHandle'

You have to build opencv with test using cmake :
-DBUILD_TESTS:BOOL=ON
(windows may be there is a space somewhere with lunux)