experiencor / keras-yolo3

Training and Detecting Objects with YOLO3
MIT License
1.6k stars 861 forks source link

could not create a dilated convolution forward descriptor, in file tensorflow/core/kernels/mkl_conv_ops.cc:1111 #212

Open thisisram opened 5 years ago

thisisram commented 5 years ago

When I tried to do bounding box for a dog image I got an error, please let me know the solution.

python yolo3_one_file_to_detect_them_all.py -w yolo3.weights -i dog.jpg

Error: 2019-08-13 10:56:18.179011: W tensorflow/core/framework/op_kernel.cc:1401] OP_REQUIRES failed at mkl_conv_ops.cc:1114 : Aborted: Operation received an exception:Status: 3, message: could not create a dilated convolution forward descriptor, in file tensorflow/core/kernels/mkl_conv_ops.cc:1111 Traceback (most recent call last): File "yolo3_one_file_to_detect_them_all.py", line 435, in main(args) File "yolo3_one_file_to_detect_them_all.py", line 414, in main yolos = yolov3.predict(new_image) File "C:\Users\thisi\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow\python\keras\engine\training.py", line 1113, in predict self, x, batch_size=batch_size, verbose=verbose, steps=steps) File "C:\Users\thisi\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow\python\keras\engine\training_arrays.py", line 329, in model_iteration batch_outs = f(ins_batch) File "C:\Users\thisi\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow\python\keras\backend.py", line 3076, in call run_metadata=self.run_metadata) File "C:\Users\thisi\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow\python\client\session.py", line 1439, in call run_metadata_ptr) File "C:\Users\thisi\AppData\Local\Continuum\anaconda3\lib\site-packages\tensorflow\python\framework\errors_impl.py", line 528, in exit c_api.TF_GetCode(self.status.status)) tensorflow.python.framework.errors_impl.AbortedError: Operation received an exception:Status: 3, message: could not create a dilated convolution forward descriptor, in file tensorflow/core/kernels/mkl_conv_ops.cc:1111 [[{{node conv_1/Conv2D}}]]

shuuse commented 4 years ago

Hi! If you are on Tensorflow 1.13 try downgrading to 1.12 or lower. Worked for me. /Simen