when I run darkflow, there is a error in tensorflow.
Loading from .pb and .meta
GPU mode with 0.6 usage
2018-08-20 12:37:16.229377: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:864] ARM64 does not support NUMA - returning NUMA node zero
2018-08-20 12:37:16.229550: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1392] Found device 0 with properties:
name: NVIDIA Tegra X2 major: 6 minor: 2 memoryClockRate(GHz): 1.3005
pciBusID: 0000:00:00.0
totalMemory: 7.67GiB freeMemory: 4.04GiB
2018-08-20 12:37:16.229647: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1471] Adding visible gpu devices: 0
2018-08-20 12:37:20.054755: I tensorflow/core/common_runtime/gpu/gpu_device.cc:952] Device interconnect StreamExecutor with strength 1 edge matrix:
2018-08-20 12:37:20.054849: I tensorflow/core/common_runtime/gpu/gpu_device.cc:958] 0
2018-08-20 12:37:20.054877: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971] 0: N
2018-08-20 12:37:20.055108: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1084] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 4711 MB memory) → physical GPU (device: 0, name: NVIDIA Tegra X2, pci bus id: 0000:00:00.0, compute capability: 6.2)
2018-08-20 12:37:21.416670: E tensorflow/stream_executor/cuda/cuda_driver.cc:1108] could not synchronize on CUDA context: CUDA_ERROR_UNKNOWN :: *** Begin stack trace ***[u][u][/u][/u]
stream_executor::cuda::CUDADriver::SynchronizeContext(stream_executor::cuda::CudaContext*)
stream_executor::StreamExecutor::SynchronizeAllActivity()
tensorflow::GPUUtil::SyncAll(tensorflow::Device*)
*** End stack trace ***
Traceback (most recent call last):
File “/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py”, line 1322, in _do_call
return fn(*args)
File “/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py”, line 1307, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File “/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py”, line 1409, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InternalError: GPU sync failed
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/bin/flow”, line 6, in
cliHandler(sys.argv)
File “/usr/local/lib/python3.5/dist-packages/darkflow/cli.py”, line 26, in cliHandler
tfnet = TFNet(FLAGS)
File “/usr/local/lib/python3.5/dist-packages/darkflow/net/build.py”, line 54, in init
self.build_from_pb()
File “/usr/local/lib/python3.5/dist-packages/darkflow/net/build.py”, line 98, in build_from_pb
self.setup_meta_ops()
File “/usr/local/lib/python3.5/dist-packages/darkflow/net/build.py”, line 146, in setup_meta_ops
self.sess.run(tf.global_variables_initializer())
File “/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py”, line 900, in run
run_metadata_ptr)
File “/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py”, line 1135, in _run
feed_dict_tensor, options, run_metadata)
File “/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py”, line 1316, in _do_run
run_metadata)
File “/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py”, line 1335, in _do_call
raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.InternalError: GPU sync failed