CV-SPPnet
CV-SPPnet copied to clipboard
Dataset are gray image.
Dear writer, i want to test your code by image gray dataset.But there are some errors occured. I want to know how to solve it? Or how can I change the code to satisfy it?The following are the output in sppnet_alexnet.py. The error outputs are marked by bold.
WARNING:tensorflow:From C:/Users/alan/Desktop/CV-SPPnet-master/spp_mytest.py:263: softmax_cross_entropy_with_logits (from tensorflow.python.ops.nn_ops) is deprecated and will be removed in a future version. Instructions for updating:
Future major versions of TensorFlow will allow gradients to flow into the labels input on backprop by default.
See @{tf.nn.softmax_cross_entropy_with_logits_v2}.
2020-04-20 12:39:50.896449: I c:\users\user\source\repos\tensorflow\tensorflow\core\platform\cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2 2020-04-20 12:39:51.152151: E c:\users\user\source\repos\tensorflow\tensorflow\stream_executor\cuda\cuda_driver.cc:406] failed call to cuInit: CUDA_ERROR_UNKNOWN 2020-04-20 12:39:51.252042: I c:\users\user\source\repos\tensorflow\tensorflow\stream_executor\cuda\cuda_diagnostics.cc:158] retrieving CUDA diagnostic information for host: DESKTOP-S7JMSKL 2020-04-20 12:39:51.252348: I c:\users\user\source\repos\tensorflow\tensorflow\stream_executor\cuda\cuda_diagnostics.cc:165] hostname: DESKTOP-S7JMSKL Traceback (most recent call last): File "C:\Users\alan\anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow\python\client\session.py", line 1322, in _do_call return fn(*args) File "C:\Users\alan\anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow\python\client\session.py", line 1307, in _run_fn options, feed_dict, fetch_list, target_list, run_metadata) File "C:\Users\alan\anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow\python\client\session.py", line 1409, in _call_tf_sessionrun run_metadata) tensorflow.python.framework.errors_impl.OutOfRangeError: RandomShuffleQueue '_1_shuffle_batch/random_shuffle_queue' is closed and has insufficient elements (requested 102, current size 0) [[Node: shuffle_batch = QueueDequeueManyV2[component_types=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/device:CPU:0"](shuffle_batch/random_shuffle_queue, shuffle_batch/n)]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/Users/alan/Desktop/CV-SPPnet-master/spp_mytest.py", line 279, in
Caused by op 'shuffle_batch', defined at:
File "C:/Users/alan/Desktop/CV-SPPnet-master/spp_mytest.py", line 257, in
OutOfRangeError (see above for traceback): RandomShuffleQueue '_1_shuffle_batch/random_shuffle_queue' is closed and has insufficient elements (requested 102, current size 0) [[Node: shuffle_batch = QueueDequeueManyV2[component_types=[DT_FLOAT, DT_INT32], timeout_ms=-1, _device="/job:localhost/replica:0/task:0/device:CPU:0"](shuffle_batch/random_shuffle_queue, shuffle_batch/n)]]