So i am able to compile and execute this C++ program,
#include <cudnn.h>
#include <iostream>
#include <opencv2/opencv.hpp>
cv::Mat load_image(const char* image_path){
cv::Mat image = cv::imread(image_path);
image.convertTo(image, CV_32FC3);
cv::normalize(image, image, 0, 1, cv::NORM_MINMAX);
return image;
}
int main(void){
cudnnHandle_t cudnn;
cudnnCreate(&cudnn);
cv::Mat image = load_image("conure.jpg");
return 0;
}
However i get these warnings;
- OpenCV 4.2.0
- Nvidia Jetson Xavier NX - ARM64, Tegra194
- CUDA 10.2
- CUDNN 8.0
I do not want to ignore these warnings, can anybody help? Thanks!