when I use image_demo.py ,but wrong by this follow :
Traceback (most recent call last):
File "image_demo.py", line 33, in
return_tensors = utils.read_pb_return_tensors(graph, pb_file, return_elements)
File "C:\dl-project\tensorflow-yolov3-master\core\utils.py", line 128, in read_pb_return_tensors
return_elements=return_elements)
File "C:\Anaconda3\lib\site-packages\tensorflow\python\util\deprecation.py", line 488, in new_func
return func(*args, **kwargs)
File "C:\Anaconda3\lib\site-packages\tensorflow\python\framework\importer.py", line 418, in import_graph_def
graph._c_graph, serialized, options) # pylint: disable=protected-access
tensorflow.python.framework.errors_impl.NotFoundError: Op type not registered 'LeakyRelu' in binary running on DESKTOP-G7BNMDL. Make sure the Op and Kernel are registered in the binary running in this process. Note that if you are loading a saved graph which used ops from tf.contrib, accessing (e.g.) tf.contrib.resampler should be done before importing the graph, as contrib ops are lazily registered when the module is first accessed.
when I use image_demo.py ,but wrong by this follow : Traceback (most recent call last): File "image_demo.py", line 33, in
return_tensors = utils.read_pb_return_tensors(graph, pb_file, return_elements)
File "C:\dl-project\tensorflow-yolov3-master\core\utils.py", line 128, in read_pb_return_tensors
return_elements=return_elements)
File "C:\Anaconda3\lib\site-packages\tensorflow\python\util\deprecation.py", line 488, in new_func
return func(*args, **kwargs)
File "C:\Anaconda3\lib\site-packages\tensorflow\python\framework\importer.py", line 418, in import_graph_def
graph._c_graph, serialized, options) # pylint: disable=protected-access
tensorflow.python.framework.errors_impl.NotFoundError: Op type not registered 'LeakyRelu' in binary running on DESKTOP-G7BNMDL. Make sure the Op and Kernel are registered in the binary running in this process. Note that if you are loading a saved graph which used ops from tf.contrib, accessing (e.g.)
tf.contrib.resampler
should be done before importing the graph, as contrib ops are lazily registered when the module is first accessed.