We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hi i have a problem with cudasift on jetson orin , unfortunately return zero numpts, i dont know why??? is it related to gpu architecture (Ampere )or cuda version(Cuda compilation tools, release 11.4, V11.4.315)?? !!!!! int devNum = 0; SiftData siftData1; cv::Mat limg; InitSiftData(siftData1, 32768, true, true); cv::imread("img1.png", 0).convertTo(limg, CV_32FC1); std::cout << "Image size = (" << w << "," << h << ")" << std::endl; std::cout << "Initializing data..." << std::endl; InitCuda(devNum); CudaImage img1; img1.Allocate(w, h, iAlignUp(w, 128), false, NULL, (float*)limg.data); img1.Download(); float initBlur = 1.0f; ExtractSift(siftData1, img1, 5, initBlur, 3.5, 0.0f, false); std::cout << "Number of original features: " << siftData1.numPts << std::endl; FreeSiftData(siftData1);
int devNum = 0;
SiftData siftData1;
cv::Mat limg;
InitSiftData(siftData1, 32768, true, true);
cv::imread("img1.png", 0).convertTo(limg, CV_32FC1);
std::cout << "Image size = (" << w << "," << h << ")" << std::endl;
std::cout << "Initializing data..." << std::endl;
InitCuda(devNum);
CudaImage img1;
img1.Allocate(w, h, iAlignUp(w, 128), false, NULL, (float*)limg.data);
img1.Download();
float initBlur = 1.0f;
ExtractSift(siftData1, img1, 5, initBlur, 3.5, 0.0f, false);
std::cout << "Number of original features: " << siftData1.numPts << std::endl;
FreeSiftData(siftData1);
outputs: ./mainSift Image size = (1920,1080) Initializing data... Device Number: 0 Device name: Orin Memory Clock Rate (MHz): 612 Memory Bus Width (bits): 128 Peak Memory Bandwidth (GB/s): 19.6 SIFT extraction time = 12.29 ms 0 Incl prefiltering & memcpy = 23.52 ms 0 Number of original features: 0
./mainSift
Image size = (1920,1080)
Initializing data...
Device Number: 0
Device name: Orin
Memory Clock Rate (MHz): 612
Memory Bus Width (bits): 128
Peak Memory Bandwidth (GB/s): 19.6
SIFT extraction time = 12.29 ms 0
Incl prefiltering & memcpy = 23.52 ms 0
Number of original features: 0
idont know why return 0 numpts!!!!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
hi
i have a problem with cudasift on jetson orin , unfortunately return zero numpts, i dont know why??? is it related to gpu architecture (Ampere )or cuda version(Cuda compilation tools, release 11.4, V11.4.315)?? !!!!!
int devNum = 0;
SiftData siftData1;
cv::Mat limg;
InitSiftData(siftData1, 32768, true, true);
cv::imread("img1.png", 0).convertTo(limg, CV_32FC1);
std::cout << "Image size = (" << w << "," << h << ")" << std::endl;
std::cout << "Initializing data..." << std::endl;
InitCuda(devNum);
CudaImage img1;
img1.Allocate(w, h, iAlignUp(w, 128), false, NULL, (float*)limg.data);
img1.Download();
float initBlur = 1.0f;
ExtractSift(siftData1, img1, 5, initBlur, 3.5, 0.0f, false);
std::cout << "Number of original features: " << siftData1.numPts << std::endl;
FreeSiftData(siftData1);
outputs:
./mainSift
Image size = (1920,1080)
Initializing data...
Device Number: 0
Device name: Orin
Memory Clock Rate (MHz): 612
Memory Bus Width (bits): 128
Peak Memory Bandwidth (GB/s): 19.6
SIFT extraction time = 12.29 ms 0
Incl prefiltering & memcpy = 23.52 ms 0
Number of original features: 0
idont know why return 0 numpts!!!!
The text was updated successfully, but these errors were encountered: