Forums - ERROR_TF_GRAPH_FILE_DOES_NOT_EXIST: Graph file does not exist

2 posts / 0 new
Last post
ERROR_TF_GRAPH_FILE_DOES_NOT_EXIST: Graph file does not exist
amirajaee
Join Date: 31 Jul 18
Posts: 14
Posted: Mon, 2018-08-27 21:33

I'm trying to convert pb model to dlc, I ran the command as follow and see this error:


LAB:~$ snpe-tensorflow-to-dlc --graph /snpe-1.18.0/models/inception_v3/tensorflow/inception_v3_2016_08_28_frozen.pb --input_dim input "1,299,299,3" --out_node "InceptionV3/Predictions/Reshape_1" --dlc inception_v3.dlc --allow_unconsumed_nodes
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcublas.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcudnn.so.5 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcufft.so.8.0 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcuda.so.1 locally
I tensorflow/stream_executor/dso_loader.cc:135] successfully opened CUDA library libcurand.so.8.0 locally
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE3 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:910] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
I tensorflow/core/common_runtime/gpu/gpu_device.cc:885] Found device 0 with properties:
name: GeForce GTX 980
major: 5 minor: 2 memoryClockRate (GHz) 1.3925
pciBusID 0000:01:00.0
Total memory: 3.95GiB
Free memory: 3.80GiB
I tensorflow/core/common_runtime/gpu/gpu_device.cc:906] DMA: 0
I tensorflow/core/common_runtime/gpu/gpu_device.cc:916] 0:   Y
I tensorflow/core/common_runtime/gpu/gpu_device.cc:975] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 980, pci bus id: 0000:01:00.0)
2018-08-27 21:27:15,832 - 106 - ERROR - Conversion failed: ERROR_TF_GRAPH_FILE_DOES_NOT_EXIST: Graph file does not exist /snpe-1.18.0/models/inception_v3/tensorflow/inception_v3_2016_08_28_frozen.pb
 

LAB:~$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2013 NVIDIA Corporation
Built on Wed_Jul_17_18:36:13_PDT_2013
Cuda compilation tools, release 5.5, V5.5.0

Is something wrong wth the graphic card?

  • Up0
  • Down0
howardd
Join Date: 3 Nov 17
Posts: 5
Posted: Wed, 2018-08-29 10:02

Hi amirajaee,

It looks like the converter is interpreting /snpe-1.18.0/models/inception_v3/tensorflow/inception_v3_2016_08_28_frozen.pb as an absolute path, and I'm guessing that path doesn't exist. Does ./snpe-1.18.0/... work?

Regards,

David

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.