Ubantu16.04 solves the error: Check failed: stream->parent()->GetConvolveAlgorithms has been abandoned (core dumped)

  • Ubantu16.04 solves the error: Check failed: stream->parent()->GetConvolveAlgorithms abandoned (core dumped)
  • The error is as follows:
E tensorflow/stream_executor/cuda/cuda_dnn.cc:378] Loaded runtime CuDNN library: 7402 (compatibility version 7400) but source was compiled with 7004 (compatibility version 7000). 
If using a binary install, upgrade your CuDNN library to match.  If building from sources, make sure the library loaded at runtime matches a compatible version specified during compile configuration.
2019-05-01 19:20:26.894925: F tensorflow/core/kernels/conv_ops.cc:717] Check failed: 
stream->parent()->GetConvolveAlgorithms( conv_parameters.ShouldIncludeWinogradNonfusedAlgo<T>(), &algorithms) 
Abandoned (core dumped)
  • Solution:
  • In the python executable file, add the following code:
import os
os.environ["CUDA_DEVICE_ORDER"]="PCI_BUS_ID" 
os.environ["CUDA_VISIBLE_DEVICES"]="1"

Intelligent Recommendation

[YOLO] darknet: ./src/cuda.c:36: check_error: Assertion `0' failed. Abandoned (core dumped)

The reason for this problem is that the memory is blown up. The solution is as follows: 1. Open yolov3.cfg 2. Modify the configuration Change the batch on line 6 to small such as batch=64  ------...

error: (-215:Assertion failed) size.width&gt;0 &amp;&amp; size.height&gt;0 in function 'cv::imshow'

prompt: the reason: The file does not exist, or the path is incorrect. It is recommended to check the file path....

OpenCV Error: Assertion failed (size.width&gt;0 &amp;&amp; size.height&gt;0) in imshow

This question indicates that the image you want to display is empty.This error often occurs when reading the end of a video, because after a video is read, the image is empty.You can avoid such proble...

Error: Assertion failed (size.width&gt;0 &amp;&amp; size.height&gt;0) in cv::imshow

Opencv use Error: Assertion failed (size.width>0 && size.height>0) in cv::imshow, because the file address name input error in imread(). Such as: Mat img = imread ("D:\opencvimg\tes...

[Python]error: (-215:Assertion failed) size.width&gt;0 &amp;&amp; size.height&gt;0 in function 'cv::imshow'

White novice in using OpenCV in Python for image input, may pop up the following error: The reason here is because of the errorPicture not really read into memoryThem, so that the image path input of ...

More Recommendation

python3opencv4 error: (-215:Assertion failed) size.width&gt;0 &amp;&amp; size.height&gt;0 in function 'cv::imshow'

problem: the reason: The file does not exist, or the path is wrong, or Chinese characters....

ubuntu graphics card training model error Abandoned (core dumped) Correct solution

When training a deep learning model with a graphics card under Ubuntu, the following problems will always be encountered: Abandoned (core dumped) At this time, it means that the GPU memory is full.One...

[ROS error] The solution for running rqt related components showing "Abandoned (core dumped)"

[ROS error report] Run rqt related components display "abandoned (core dumped)" solution, Error log: The following error is displayed when running rqt_plot: Through the error log, you can se...

React.PropTypes has been abandoned

Modified method  ...

BufferQueue has been abandoned

Android Camera does not display preview to get frame data   Using this example program, the error is always reported when running.   The problem is solved after the SurfaceTexture declaratio...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top