-
Notifications
You must be signed in to change notification settings - Fork 204
New issue
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
/tmp/build_opencv/opencv_contrib/ is not available in docker image #60
Comments
I have installed opencv via build_opencv.sh script but tests fails. What can be wrong? |
It's related to #43 Test data is missing. I will address it in the next release so that the test functionality works. |
Anything not strictly needed at runtime is deleted, including any build files. It's by design. When I fix #43 I will address this as well so tests can be run.
Nope. It's just saying "the error is here in the source" and if it's still around you can check the .cpp, but you can also check that file on GitHub. Possibly the container does not have permission to access the GPU. What's your docker run command? |
100 % of my test failed, is it ok or some of them should only fail?
I run my app in docker-compose and there I have runtime: nvidia When I try to run ./deviceQuery previously copied to container from host dir /usr/local/cuda/samples/ result is: CUDA Device Query (Runtime API) version (CUDART static linking) cudaGetDeviceCount returned 35 |
Should there be cuda 10_2 instead 10_0 in path? |
Yup, that's a bug and could prevent buildling something like pycuda. Thanks for spotting that. |
Ack. looks like I edited your comment instead of hitting quote reply. Sorry. Not much sleep last night.
I haven't tried compose, but if the options are the same as with docker run it should work fine. Try the example launch like this and let me know if it works:
|
I have the same result as you. Device 0: "NVIDIA Tegra X1" The most interesting part is that cuda haarcascade smile detector is working but others like face or eyes detector doesn`t work:
Looks like the error is in this line:
I don't know much in C++ language, maybe you can tell me what's the problem? |
cudaError_t 702 means it timed out. Have you tried the same version outside docker? |
Yep, same error. Only smile classifier works properly. |
I try to use cuda cv2.cuda_CascadeClassifier, my application based on your docker image here https://hub.docker.com/r/mdegans/tegra-opencv
But I receive error
When I check /tmp/ directory inside this docker image, its empty. Cat it be the reason why app is failing?
The text was updated successfully, but these errors were encountered: